#12316A#12316A

#12316A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.106 H 261.3°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#12316A
RGBrgb(18, 49, 106)
HSLhsl(219, 71%, 24%)
HSVhsv(219, 83%, 42%)
CMYKcmyk(83%, 53.8%, 0%, 58.4%)
CIE-LABlab(21.45, 11.74, -36.55)
CIE-LCHlch(21.45, 38.39, 287.80°)
OKLaboklab(32.68% -0.0161 -0.1052)
OKLCHoklch(32.68% 0.106 261.3)
XYZxyz(3.9483, 3.3654, 14.0744)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12316A #6A4B12
analogous
#125D6A #12316A #1F126A
triadic
#12316A #6A1231 #316A12
tetradic
#12316A #6A125D #6A4B12 #126A1F
square
#12316A #6A125D #6A4B12 #126A1F
split-complementary
#12316A #6A1F12 #5D6A12
monochromatic
#040C1A #091936 #12316A #1B499E #2461D3

Accessibility & contrast

On white

12.55
#12316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#12316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12316A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12316A#FFFFFF#000000##FFFFFF
##12316A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #12316a;
/* rgb */ color: rgb(18, 49, 106);
/* oklch */ color: oklch(32.7% 0.106 261.3);
Tailwind
colors: {
  custom: {
    50: '#606895',
    500: '#12316a',
    950: '#000000',
  },
}
SCSS
$custom: #12316a;
$custom-light: #606895;
$custom-dark: #000000;
JSON
{
  "hex": "#12316a",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 218.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.10646,
    "h": 261.3
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#12316A
secondary
#A27C36
accent
#AE3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12316A

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

Preview Lab → · Contrast checker → · Palette generator →

#12316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva