#12367B#12367B

#12367B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.125 H 261.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#12367B
RGBrgb(18, 54, 123)
HSLhsl(219, 74%, 28%)
HSVhsv(219, 85%, 48%)
CMYKcmyk(85.4%, 56.1%, 0%, 51.8%)
CIE-LABlab(24.31, 15.36, -42.80)
CIE-LCHlch(24.31, 45.47, 289.74°)
OKLaboklab(35.28% -0.018 -0.1235)
OKLCHoklch(35.28% 0.125 261.7)
XYZxyz(5.1425, 4.1964, 19.2740)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12367B #7B5712
analogous
#126A7B #12367B #23127B
triadic
#12367B #7B1236 #367B12
tetradic
#12367B #7B126A #7B5712 #127B23
square
#12367B #7B126A #7B5712 #127B23
split-complementary
#12367B #7B2312 #6A7B12
monochromatic
#040C1B #0A1F46 #12367B #1A4DB0 #2867E0

Accessibility & contrast

On white

11.42
#12367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12367B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12367B#FFFFFF#000000##FFFFFF
##12367B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12367b;
/* rgb */ color: rgb(18, 54, 123);
/* oklch */ color: oklch(35.3% 0.125 261.7);
Tailwind
colors: {
  custom: {
    50: '#646ca2',
    500: '#12367b',
    950: '#000000',
  },
}
SCSS
$custom: #12367b;
$custom-light: #646ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#12367b",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 219.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.12479,
    "h": 261.7
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#12367B
secondary
#B18738
accent
#B137F1
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #12367B

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

Preview Lab → · Contrast checker → · Palette generator →

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