#12244A#12244A

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

Color values

HEX#12244A
RGBrgb(18, 36, 74)
HSLhsl(221, 61%, 18%)
HSVhsv(221, 76%, 29%)
CMYKcmyk(75.7%, 51.4%, 0%, 71%)
CIE-LABlab(14.87, 7.60, -25.85)
CIE-LCHlch(14.87, 26.94, 286.38°)
OKLaboklab(26.87% -0.0088 -0.074)
OKLCHoklch(26.87% 0.075 263.2)
XYZxyz(2.1159, 1.8846, 6.7295)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12244A #4A3812
analogous
#12404A #12244A #1C124A
triadic
#12244A #4A1224 #244A12
tetradic
#12244A #4A1240 #4A3812 #124A1C
square
#12244A #4A1240 #4A3812 #124A1C
split-complementary
#12244A #4A1C12 #404A12
monochromatic
#060C19 #060C19 #12244A #1E3C7B #2A54AC

Accessibility & contrast

On white

15.25
#12244A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12244A
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12244A#FFFFFF#000000##FFFFFF
##12244A1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11284B
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12244a;
/* rgb */ color: rgb(18, 36, 74);
/* oklch */ color: oklch(26.9% 0.075 263.2);
Tailwind
colors: {
  custom: {
    50: '#585e7d',
    500: '#12244a',
    950: '#000000',
  },
}
SCSS
$custom: #12244a;
$custom-light: #585e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12244a",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 74
  },
  "hsl": {
    "h": 220.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26867,
    "c": 0.07453,
    "h": 263.2
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#12244A
secondary
#836A35
accent
#B144E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #12244A

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

Preview Lab → · Contrast checker → · Palette generator →

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