#12366E#12366E

#12366E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.106 H 259.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#12366E
RGBrgb(18, 54, 110)
HSLhsl(217, 72%, 25%)
HSVhsv(217, 84%, 43%)
CMYKcmyk(83.6%, 50.9%, 0%, 56.9%)
CIE-LABlab(23.31, 9.84, -36.13)
CIE-LCHlch(23.31, 37.44, 285.24°)
OKLaboklab(34.2% -0.0197 -0.1039)
OKLCHoklch(34.2% 0.106 259.2)
XYZxyz(4.3821, 3.8922, 15.2691)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12366E #6E4A12
analogous
#12646E #12366E #1C126E
triadic
#12366E #6E1236 #366E12
tetradic
#12366E #6E1264 #6E4A12 #126E1C
square
#12366E #6E1264 #6E4A12 #126E1C
split-complementary
#12366E #6E1C12 #646E12
monochromatic
#040D1A #091C39 #12366E #1B50A3 #236AD7

Accessibility & contrast

On white

11.81
#12366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12366E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12366E#FFFFFF#000000##FFFFFF
##12366E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12366e;
/* rgb */ color: rgb(18, 54, 110);
/* oklch */ color: oklch(34.2% 0.106 259.2);
Tailwind
colors: {
  custom: {
    50: '#606c98',
    500: '#12366e',
    950: '#000000',
  },
}
SCSS
$custom: #12366e;
$custom-light: #606c98;
$custom-dark: #000000;
JSON
{
  "hex": "#12366e",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 216.522,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.342,
    "c": 0.10573,
    "h": 259.2
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12366E

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

Preview Lab → · Contrast checker → · Palette generator →

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