#12409F#12409F

#12409F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.162 H 262.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#12409F
RGBrgb(18, 64, 159)
HSLhsl(220, 80%, 35%)
HSVhsv(220, 89%, 62%)
CMYKcmyk(88.7%, 59.7%, 0%, 37.6%)
CIE-LABlab(30.15, 23.24, -55.54)
CIE-LCHlch(30.15, 60.21, 292.71°)
OKLaboklab(40.62% -0.0215 -0.1607)
OKLCHoklch(40.62% 0.162 262.4)
XYZxyz(8.3386, 6.2975, 33.5702)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12409F #9F7112
analogous
#12869F #12409F #2B129F
triadic
#12409F #9F1240 #409F12
tetradic
#12409F #9F1286 #9F7112 #129F2B
square
#12409F #9F1286 #9F7112 #129F2B
split-complementary
#12409F #9F2B12 #869F12
monochromatic
#061431 #0C2A68 #12409F #1856D6 #4279EA

Accessibility & contrast

On white

9.29
#12409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#12409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12409F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12409F#FFFFFF#000000##FFFFFF
##12409F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12409f;
/* rgb */ color: rgb(18, 64, 159);
/* oklch */ color: oklch(40.6% 0.162 262.4);
Tailwind
colors: {
  custom: {
    50: '#6e74bc',
    500: '#12409f',
    950: '#000000',
  },
}
SCSS
$custom: #12409f;
$custom-light: #6e74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#12409f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 220.426,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.16216,
    "h": 262.4
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#12409F
secondary
#CA9E43
accent
#B632F6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #12409F

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

Preview Lab → · Contrast checker → · Palette generator →

#12409F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva