#12366F#12366F

#12366F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.107 H 259.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#12366F
RGBrgb(18, 54, 111)
HSLhsl(217, 72%, 25%)
HSVhsv(217, 84%, 44%)
CMYKcmyk(83.8%, 51.4%, 0%, 56.5%)
CIE-LABlab(23.39, 10.27, -36.65)
CIE-LCHlch(23.39, 38.06, 285.65°)
OKLaboklab(34.28% -0.0196 -0.1054)
OKLCHoklch(34.28% 0.107 259.5)
XYZxyz(4.4368, 3.9141, 15.5575)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12366F #6F4B12
analogous
#12646F #12366F #1C126F
triadic
#12366F #6F1236 #366F12
tetradic
#12366F #6F1264 #6F4B12 #126F1C
square
#12366F #6F1264 #6F4B12 #126F1C
split-complementary
#12366F #6F1C12 #646F12
monochromatic
#040D1A #091C3A #12366F #1B50A4 #2369D8

Accessibility & contrast

On white

11.78
#12366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#12366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12366F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12366F#FFFFFF#000000##FFFFFF
##12366F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12366f;
/* rgb */ color: rgb(18, 54, 111);
/* oklch */ color: oklch(34.3% 0.107 259.5);
Tailwind
colors: {
  custom: {
    50: '#616c99',
    500: '#12366f',
    950: '#000000',
  },
}
SCSS
$custom: #12366f;
$custom-light: #616c99;
$custom-dark: #000000;
JSON
{
  "hex": "#12366f",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 216.774,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3428,
    "c": 0.10721,
    "h": 259.5
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#12366F
secondary
#A67B37
accent
#A839EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12366F

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

Preview Lab → · Contrast checker → · Palette generator →

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