#12367F#12367F

#12367F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.131 H 262.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#12367F
RGBrgb(18, 54, 127)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 86%, 50%)
CMYKcmyk(85.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(24.64, 17.04, -44.79)
CIE-LCHlch(24.64, 47.92, 290.83°)
OKLaboklab(35.63% -0.0176 -0.1293)
OKLCHoklch(35.63% 0.131 262.3)
XYZxyz(5.3980, 4.2986, 20.6198)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12367F #7F5B12
analogous
#126C7F #12367F #24127F
triadic
#12367F #7F1236 #367F12
tetradic
#12367F #7F126C #7F5B12 #127F24
square
#12367F #7F126C #7F5B12 #127F24
split-complementary
#12367F #7F2412 #6C7F12
monochromatic
#040B1B #0A1F49 #12367F #1A4DB5 #2B67E1

Accessibility & contrast

On white

11.29
#12367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#12367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12367F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12367F#FFFFFF#000000##FFFFFF
##12367F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12367f;
/* rgb */ color: rgb(18, 54, 127);
/* oklch */ color: oklch(35.6% 0.131 262.3);
Tailwind
colors: {
  custom: {
    50: '#656ca5',
    500: '#12367f',
    950: '#000000',
  },
}
SCSS
$custom: #12367f;
$custom-light: #656ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#12367f",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 220.183,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35628,
    "c": 0.13054,
    "h": 262.3
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#12367F
secondary
#B58C38
accent
#B436F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12367F

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

Preview Lab → · Contrast checker → · Palette generator →

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