#12244B#12244B

#12244B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.076 H 263.5°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#12244B
RGBrgb(18, 36, 75)
HSLhsl(221, 61%, 18%)
HSVhsv(221, 76%, 29%)
CMYKcmyk(76%, 52%, 0%, 70.6%)
CIE-LABlab(14.94, 8.03, -26.42)
CIE-LCHlch(14.94, 27.61, 286.90°)
OKLaboklab(26.95% -0.0086 -0.0757)
OKLCHoklch(26.95% 0.076 263.5)
XYZxyz(2.1499, 1.8981, 6.9083)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12244B #4B3912
analogous
#12404B #12244B #1C124B
triadic
#12244B #4B1224 #244B12
tetradic
#12244B #4B1240 #4B3912 #124B1C
square
#12244B #4B1240 #4B3912 #124B1C
split-complementary
#12244B #4B1C12 #404B12
monochromatic
#060C19 #060C1A #12244B #1E3C7C #2A53AE

Accessibility & contrast

On white

15.22
#12244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#12244B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12244B
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12244B#FFFFFF#000000##FFFFFF
##12244B1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284C
Deuteranopia (green-blind)
#04234A
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12244b;
/* rgb */ color: rgb(18, 36, 75);
/* oklch */ color: oklch(26.9% 0.076 263.5);
Tailwind
colors: {
  custom: {
    50: '#585e7d',
    500: '#12244b',
    950: '#000000',
  },
}
SCSS
$custom: #12244b;
$custom-light: #585e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12244b",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 221.053,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26948,
    "c": 0.07617,
    "h": 263.5
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#12244B
secondary
#846B35
accent
#B243E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #12244B

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

Preview Lab → · Contrast checker → · Palette generator →

#12244B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva