#12316E#12316E

#12316E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.112 H 262.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#12316E
RGBrgb(18, 49, 110)
HSLhsl(220, 72%, 25%)
HSVhsv(220, 84%, 43%)
CMYKcmyk(83.6%, 55.5%, 0%, 56.9%)
CIE-LABlab(21.76, 13.44, -38.63)
CIE-LCHlch(21.76, 40.90, 289.19°)
OKLaboklab(33.02% -0.0156 -0.1113)
OKLCHoklch(33.02% 0.112 262)
XYZxyz(4.1612, 3.4505, 15.1955)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12316E #6E4F12
analogous
#125F6E #12316E #21126E
triadic
#12316E #6E1231 #316E12
tetradic
#12316E #6E125F #6E4F12 #126E21
square
#12316E #6E125F #6E4F12 #126E21
split-complementary
#12316E #6E2112 #5F6E12
monochromatic
#040C1A #091A39 #12316E #1B48A3 #2360D7

Accessibility & contrast

On white

12.42
#12316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12316E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12316E#FFFFFF#000000##FFFFFF
##12316E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043970
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12316e;
/* rgb */ color: rgb(18, 49, 110);
/* oklch */ color: oklch(33.0% 0.112 262.0);
Tailwind
colors: {
  custom: {
    50: '#616898',
    500: '#12316e',
    950: '#000000',
  },
}
SCSS
$custom: #12316e;
$custom-light: #616898;
$custom-dark: #000000;
JSON
{
  "hex": "#12316e",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 219.783,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33017,
    "c": 0.11243,
    "h": 262
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#12316E
secondary
#A58037
accent
#B139EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12316E

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

Preview Lab → · Contrast checker → · Palette generator →

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