#12377D#12377D

#12377D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.126 H 261.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#12377D
RGBrgb(18, 55, 125)
HSLhsl(219, 75%, 28%)
HSVhsv(219, 86%, 49%)
CMYKcmyk(85.6%, 56%, 0%, 51%)
CIE-LABlab(24.77, 15.49, -43.32)
CIE-LCHlch(24.77, 46.00, 289.68°)
OKLaboklab(35.68% -0.0185 -0.125)
OKLCHoklch(35.68% 0.126 261.6)
XYZxyz(5.3160, 4.3410, 19.9558)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12377D #7D5812
analogous
#126C7D #12377D #22127D
triadic
#12377D #7D1237 #377D12
tetradic
#12377D #7D126C #7D5812 #127D22
square
#12377D #7D126C #7D5812 #127D22
split-complementary
#12377D #7D2212 #6C7D12
monochromatic
#040C1B #0A1F48 #12377D #1A4FB2 #2968E0

Accessibility & contrast

On white

11.24
#12377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12377D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12377D#FFFFFF#000000##FFFFFF
##12377D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12377d;
/* rgb */ color: rgb(18, 55, 125);
/* oklch */ color: oklch(35.7% 0.126 261.6);
Tailwind
colors: {
  custom: {
    50: '#656da3',
    500: '#12377d',
    950: '#000000',
  },
}
SCSS
$custom: #12377d;
$custom-light: #656da3;
$custom-dark: #000000;
JSON
{
  "hex": "#12377d",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 219.252,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35677,
    "c": 0.12636,
    "h": 261.6
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#12377D
secondary
#B38838
accent
#B136F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #12377D

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

Preview Lab → · Contrast checker → · Palette generator →

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