#12244F#12244F

#12244F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.3% C 0.083 H 264.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#12244F
RGBrgb(18, 36, 79)
HSLhsl(222, 63%, 19%)
HSVhsv(222, 77%, 31%)
CMYKcmyk(77.2%, 54.4%, 0%, 69%)
CIE-LABlab(15.25, 9.75, -28.66)
CIE-LCHlch(15.25, 30.27, 288.79°)
OKLaboklab(27.28% -0.008 -0.0823)
OKLCHoklch(27.28% 0.083 264.5)
XYZxyz(2.2911, 1.9546, 7.6522)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12244F #4F3D12
analogous
#12434F #12244F #1F124F
triadic
#12244F #4F1224 #244F12
tetradic
#12244F #4F1243 #4F3D12 #124F1F
square
#12244F #4F1243 #4F3D12 #124F1F
split-complementary
#12244F #4F1F12 #434F12
monochromatic
#060B19 #070D1D #12244F #1D3B81 #2951B3

Accessibility & contrast

On white

15.10
#12244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#12244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12244F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12244F#FFFFFF#000000##FFFFFF
##12244F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2951
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12244f;
/* rgb */ color: rgb(18, 36, 79);
/* oklch */ color: oklch(27.3% 0.083 264.5);
Tailwind
colors: {
  custom: {
    50: '#595e81',
    500: '#12244f',
    950: '#000000',
  },
}
SCSS
$custom: #12244f;
$custom-light: #595e81;
$custom-dark: #000000;
JSON
{
  "hex": "#12244f",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 222.295,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27278,
    "c": 0.08265,
    "h": 264.5
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#12244F
secondary
#886F35
accent
#B642E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #12244F

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

Preview Lab → · Contrast checker → · Palette generator →

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