#12377F#12377F

#12377F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.129 H 261.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#12377F
RGBrgb(18, 55, 127)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 86%, 50%)
CMYKcmyk(85.8%, 56.7%, 0%, 50.2%)
CIE-LABlab(24.93, 16.33, -44.31)
CIE-LCHlch(24.93, 47.23, 290.23°)
OKLaboklab(35.85% -0.0183 -0.1279)
OKLCHoklch(35.85% 0.129 261.9)
XYZxyz(5.4450, 4.3926, 20.6354)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12377F #7F5A12
analogous
#126D7F #12377F #23127F
triadic
#12377F #7F1237 #377F12
tetradic
#12377F #7F126D #7F5A12 #127F23
square
#12377F #7F126D #7F5A12 #127F23
split-complementary
#12377F #7F2312 #6D7F12
monochromatic
#040C1B #0A2049 #12377F #1A4EB5 #2B68E1

Accessibility & contrast

On white

11.18
#12377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#12377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12377F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12377F#FFFFFF#000000##FFFFFF
##12377F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12377f;
/* rgb */ color: rgb(18, 55, 127);
/* oklch */ color: oklch(35.9% 0.129 261.9);
Tailwind
colors: {
  custom: {
    50: '#656da5',
    500: '#12377f',
    950: '#000000',
  },
}
SCSS
$custom: #12377f;
$custom-light: #656da5;
$custom-dark: #000000;
JSON
{
  "hex": "#12377f",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 219.633,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.12923,
    "h": 261.9
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#12377F
secondary
#B58A38
accent
#B236F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #12377F

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

Preview Lab → · Contrast checker → · Palette generator →

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