#12366D#12366D

#12366D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.1% C 0.104 H 259.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#12366D
RGBrgb(18, 54, 109)
HSLhsl(216, 72%, 25%)
HSVhsv(216, 83%, 43%)
CMYKcmyk(83.5%, 50.5%, 0%, 57.3%)
CIE-LABlab(23.24, 9.41, -35.60)
CIE-LCHlch(23.24, 36.83, 284.81°)
OKLaboklab(34.12% -0.0199 -0.1023)
OKLCHoklch(34.12% 0.104 259)
XYZxyz(4.3279, 3.8705, 14.9840)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12366D #6D4912
analogous
#12636D #12366D #1C126D
triadic
#12366D #6D1236 #366D12
tetradic
#12366D #6D1263 #6D4912 #126D1C
square
#12366D #6D1263 #6D4912 #126D1C
split-complementary
#12366D #6D1C12 #636D12
monochromatic
#040D1A #091C38 #12366D #1B50A2 #236AD6

Accessibility & contrast

On white

11.84
#12366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#12366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12366D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12366D#FFFFFF#000000##FFFFFF
##12366D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12366d;
/* rgb */ color: rgb(18, 54, 109);
/* oklch */ color: oklch(34.1% 0.104 259.0);
Tailwind
colors: {
  custom: {
    50: '#606c97',
    500: '#12366d',
    950: '#000000',
  },
}
SCSS
$custom: #12366d;
$custom-light: #606c97;
$custom-dark: #000000;
JSON
{
  "hex": "#12366d",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 216.264,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.10425,
    "h": 259
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#12366D
secondary
#A47937
accent
#A739EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12366D

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

Preview Lab → · Contrast checker → · Palette generator →

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