#12367E#12367E

#12367E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.5% C 0.129 H 262.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#12367E
RGBrgb(18, 54, 126)
HSLhsl(220, 75%, 28%)
HSVhsv(220, 86%, 49%)
CMYKcmyk(85.7%, 57.1%, 0%, 50.6%)
CIE-LABlab(24.55, 16.62, -44.30)
CIE-LCHlch(24.55, 47.31, 290.57°)
OKLaboklab(35.54% -0.0177 -0.1279)
OKLCHoklch(35.54% 0.129 262.1)
XYZxyz(5.3332, 4.2726, 20.2782)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12367E #7E5A12
analogous
#126C7E #12367E #24127E
triadic
#12367E #7E1236 #367E12
tetradic
#12367E #7E126C #7E5A12 #127E24
square
#12367E #7E126C #7E5A12 #127E24
split-complementary
#12367E #7E2412 #6C7E12
monochromatic
#040B1B #0A1F48 #12367E #1A4DB4 #2A67E1

Accessibility & contrast

On white

11.32
#12367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12367E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12367E#FFFFFF#000000##FFFFFF
##12367E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12367e;
/* rgb */ color: rgb(18, 54, 126);
/* oklch */ color: oklch(35.5% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#656ca4',
    500: '#12367e',
    950: '#000000',
  },
}
SCSS
$custom: #12367e;
$custom-light: #656ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#12367e",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3554,
    "c": 0.12912,
    "h": 262.1
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#12367E
secondary
#B48B38
accent
#B336F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12367E

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

Preview Lab → · Contrast checker → · Palette generator →

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