#12377C#12377C

#12377C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.125 H 261.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#12377C
RGBrgb(18, 55, 124)
HSLhsl(219, 75%, 28%)
HSVhsv(219, 85%, 49%)
CMYKcmyk(85.5%, 55.6%, 0%, 51.4%)
CIE-LABlab(24.69, 15.07, -42.81)
CIE-LCHlch(24.69, 45.39, 289.39°)
OKLaboklab(35.59% -0.0186 -0.1235)
OKLCHoklch(35.59% 0.125 261.4)
XYZxyz(5.2524, 4.3156, 19.6210)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12377C #7C5712
analogous
#126C7C #12377C #22127C
triadic
#12377C #7C1237 #377C12
tetradic
#12377C #7C126C #7C5712 #127C22
square
#12377C #7C126C #7C5712 #127C22
split-complementary
#12377C #7C2212 #6C7C12
monochromatic
#040C1B #0A1F47 #12377C #1A4FB1 #2969E0

Accessibility & contrast

On white

11.27
#12377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#12377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12377C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12377C#FFFFFF#000000##FFFFFF
##12377C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12377c;
/* rgb */ color: rgb(18, 55, 124);
/* oklch */ color: oklch(35.6% 0.125 261.4);
Tailwind
colors: {
  custom: {
    50: '#646da2',
    500: '#12377c',
    950: '#000000',
  },
}
SCSS
$custom: #12377c;
$custom-light: #646da2;
$custom-dark: #000000;
JSON
{
  "hex": "#12377c",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 219.057,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.12491,
    "h": 261.4
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#12377C
secondary
#B28738
accent
#B037F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #12377C

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

Preview Lab → · Contrast checker → · Palette generator →

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