#1237A7

A color in the Blue, Sky, Navy family

#1237a7 is a color in the Blue, Sky, Navy family: RGB(18, 55, 167), HSL(225°, 81%, 36%), CMYK(89%, 67%, 0%, 35%). Closest named color: mediumblue. Contrast is 9.86:1 on white and 2.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1237a7
RGBrgb(18 55 167)
RGB (legacy)rgb(18, 55, 167)
RGB %rgb(7% 22% 65%)
HSLhsl(225 81% 36%)
HSV / HSBhsv(225, 89%, 65%)
HWBhwb(225 7% 35%)
CMYKcmyk(89%, 67%, 0%, 35%)
CIELAB (D50)lab(27.34 24.35 -64.73)
LCHlch(27.34 69.16 290.62)
OKLaboklab(0.3962 -0.0172 -0.1828)
OKLCHoklch(0.3962 0.1836 264.62)
Decimal1193895

Properties

Color ToneBlue, Sky, Navy
Closest named colormediumblue ΔE 8.3
Closest web-safe color#003399
Hue225°
Saturation (HSL / HSV)81% / 89%
Lightness (HSL)36%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)22% / 22%
Relative luminance (WCAG)0.0565
Red / Green / Blue18 / 55 / 167

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 92 / -10.4 · As background with white / black text: Lc -96.2 / 12

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #1237a7;
  --color-brand-oklch: oklch(39.62% 0.1836 264.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(18 55 167 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1237a7] text-[#1237a7] border-[#1237a7]">