#12316D#12316D

#12316D is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.111 H 261.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#12316D
RGBrgb(18, 49, 109)
HSLhsl(220, 72%, 25%)
HSVhsv(220, 83%, 43%)
CMYKcmyk(83.5%, 55%, 0%, 57.3%)
CIE-LABlab(21.69, 13.02, -38.11)
CIE-LCHlch(21.69, 40.27, 288.86°)
OKLaboklab(32.93% -0.0157 -0.1098)
OKLCHoklch(32.93% 0.111 261.8)
XYZxyz(4.1071, 3.4289, 14.9104)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12316D #6D4E12
analogous
#125F6D #12316D #20126D
triadic
#12316D #6D1231 #316D12
tetradic
#12316D #6D125F #6D4E12 #126D20
square
#12316D #6D125F #6D4E12 #126D20
split-complementary
#12316D #6D2012 #5F6D12
monochromatic
#040C1A #091938 #12316D #1B49A2 #2360D6

Accessibility & contrast

On white

12.46
#12316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#12316D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12316D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12316D#FFFFFF#000000##FFFFFF
##12316D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12316d;
/* rgb */ color: rgb(18, 49, 109);
/* oklch */ color: oklch(32.9% 0.111 261.8);
Tailwind
colors: {
  custom: {
    50: '#606897',
    500: '#12316d',
    950: '#000000',
  },
}
SCSS
$custom: #12316d;
$custom-light: #606897;
$custom-dark: #000000;
JSON
{
  "hex": "#12316d",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 219.56,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.11094,
    "h": 261.8
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#12316D
secondary
#A47F37
accent
#B139EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #12316D

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

Preview Lab → · Contrast checker → · Palette generator →

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