#12367C#12367C

#12367C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.126 H 261.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#12367C
RGBrgb(18, 54, 124)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 85%, 49%)
CMYKcmyk(85.5%, 56.5%, 0%, 51.4%)
CIE-LABlab(24.39, 15.78, -43.30)
CIE-LCHlch(24.39, 46.08, 290.03°)
OKLaboklab(35.37% -0.0179 -0.125)
OKLCHoklch(35.37% 0.126 261.9)
XYZxyz(5.2054, 4.2215, 19.6054)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12367C #7C5812
analogous
#126B7C #12367C #23127C
triadic
#12367C #7C1236 #367C12
tetradic
#12367C #7C126B #7C5812 #127C23
square
#12367C #7C126B #7C5812 #127C23
split-complementary
#12367C #7C2312 #6B7C12
monochromatic
#040C1B #0A1F47 #12367C #1A4DB1 #2967E0

Accessibility & contrast

On white

11.39
#12367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12367C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12367C#FFFFFF#000000##FFFFFF
##12367C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12367c;
/* rgb */ color: rgb(18, 54, 124);
/* oklch */ color: oklch(35.4% 0.126 261.9);
Tailwind
colors: {
  custom: {
    50: '#646ca2',
    500: '#12367c',
    950: '#000000',
  },
}
SCSS
$custom: #12367c;
$custom-light: #646ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#12367c",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 219.623,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.12623,
    "h": 261.9
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#12367C
secondary
#B28838
accent
#B237F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #12367C

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

Preview Lab → · Contrast checker → · Palette generator →

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