#12377E#12377E

#12377E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.128 H 261.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#12377E
RGBrgb(18, 55, 126)
HSLhsl(219, 75%, 28%)
HSVhsv(219, 86%, 49%)
CMYKcmyk(85.7%, 56.3%, 0%, 50.6%)
CIE-LABlab(24.85, 15.91, -43.82)
CIE-LCHlch(24.85, 46.61, 289.96°)
OKLaboklab(35.76% -0.0184 -0.1265)
OKLCHoklch(35.76% 0.128 261.7)
XYZxyz(5.3802, 4.3667, 20.2939)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12377E #7E5912
analogous
#126D7E #12377E #23127E
triadic
#12377E #7E1237 #377E12
tetradic
#12377E #7E126D #7E5912 #127E23
square
#12377E #7E126D #7E5912 #127E23
split-complementary
#12377E #7E2312 #6D7E12
monochromatic
#040C1B #0A2048 #12377E #1A4EB4 #2A68E1

Accessibility & contrast

On white

11.21
#12377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#12377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12377E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12377E#FFFFFF#000000##FFFFFF
##12377E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12377e;
/* rgb */ color: rgb(18, 55, 126);
/* oklch */ color: oklch(35.8% 0.128 261.7);
Tailwind
colors: {
  custom: {
    50: '#656da4',
    500: '#12377e',
    950: '#000000',
  },
}
SCSS
$custom: #12377e;
$custom-light: #656da4;
$custom-dark: #000000;
JSON
{
  "hex": "#12377e",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 219.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.12779,
    "h": 261.7
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#12377E
secondary
#B48938
accent
#B136F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #12377E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#12377E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva