#12366C#12366C

#12366C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.103 H 258.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#12366C
RGBrgb(18, 54, 108)
HSLhsl(216, 71%, 25%)
HSVhsv(216, 83%, 42%)
CMYKcmyk(83.3%, 50%, 0%, 57.6%)
CIE-LABlab(23.17, 8.99, -35.08)
CIE-LCHlch(23.17, 36.21, 284.37°)
OKLaboklab(34.04% -0.0201 -0.1008)
OKLCHoklch(34.04% 0.103 258.7)
XYZxyz(4.2744, 3.8491, 14.7021)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12366C #6C4812
analogous
#12636C #12366C #1B126C
triadic
#12366C #6C1236 #366C12
tetradic
#12366C #6C1263 #6C4812 #126C1B
square
#12366C #6C1263 #6C4812 #126C1B
split-complementary
#12366C #6C1B12 #636C12
monochromatic
#040D1A #091C38 #12366C #1B50A0 #236AD5

Accessibility & contrast

On white

11.86
#12366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12366C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12366C#FFFFFF#000000##FFFFFF
##12366C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12366c;
/* rgb */ color: rgb(18, 54, 108);
/* oklch */ color: oklch(34.0% 0.103 258.7);
Tailwind
colors: {
  custom: {
    50: '#606c96',
    500: '#12366c',
    950: '#000000',
  },
}
SCSS
$custom: #12366c;
$custom-light: #606c96;
$custom-dark: #000000;
JSON
{
  "hex": "#12366c",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.10276,
    "h": 258.7
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#12366C
secondary
#A37836
accent
#A63AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12366C

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

Preview Lab → · Contrast checker → · Palette generator →

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