#12367D#12367D

#12367D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.128 H 262.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#12367D
RGBrgb(18, 54, 125)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 86%, 49%)
CMYKcmyk(85.6%, 56.8%, 0%, 51%)
CIE-LABlab(24.47, 16.20, -43.80)
CIE-LCHlch(24.47, 46.70, 290.30°)
OKLaboklab(35.45% -0.0178 -0.1264)
OKLCHoklch(35.45% 0.128 262)
XYZxyz(5.2690, 4.2470, 19.9401)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12367D #7D5912
analogous
#126B7D #12367D #23127D
triadic
#12367D #7D1236 #367D12
tetradic
#12367D #7D126B #7D5912 #127D23
square
#12367D #7D126B #7D5912 #127D23
split-complementary
#12367D #7D2312 #6B7D12
monochromatic
#040C1B #0A1F48 #12367D #1A4DB2 #2967E0

Accessibility & contrast

On white

11.35
#12367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#12367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12367D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12367D#FFFFFF#000000##FFFFFF
##12367D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12367d;
/* rgb */ color: rgb(18, 54, 125);
/* oklch */ color: oklch(35.5% 0.128 262.0);
Tailwind
colors: {
  custom: {
    50: '#656ca3',
    500: '#12367d',
    950: '#000000',
  },
}
SCSS
$custom: #12367d;
$custom-light: #656ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#12367d",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 219.813,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.12767,
    "h": 262
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#12367D
secondary
#B38A38
accent
#B236F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #12367D

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

Preview Lab → · Contrast checker → · Palette generator →

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