#12264A#12264A

#12264A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.072 H 261.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#12264A
RGBrgb(18, 38, 74)
HSLhsl(219, 61%, 18%)
HSVhsv(219, 76%, 29%)
CMYKcmyk(75.7%, 48.6%, 0%, 71%)
CIE-LABlab(15.53, 6.10, -24.79)
CIE-LCHlch(15.53, 25.53, 283.82°)
OKLaboklab(27.38% -0.011 -0.0708)
OKLCHoklch(27.38% 0.072 261.1)
XYZxyz(2.1782, 2.0090, 6.7502)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12264A #4A3612
analogous
#12424A #12264A #1A124A
triadic
#12264A #4A1226 #264A12
tetradic
#12264A #4A1242 #4A3612 #124A1A
square
#12264A #4A1242 #4A3612 #124A1A
split-complementary
#12264A #4A1A12 #424A12
monochromatic
#060D19 #060D19 #12264A #1E3F7B #2A59AC

Accessibility & contrast

On white

14.98
#12264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#12264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12264A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12264A#FFFFFF#000000##FFFFFF
##12264A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4B
Deuteranopia (green-blind)
#0B2449
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #12264a;
/* rgb */ color: rgb(18, 38, 74);
/* oklch */ color: oklch(27.4% 0.072 261.1);
Tailwind
colors: {
  custom: {
    50: '#585f7d',
    500: '#12264a',
    950: '#000000',
  },
}
SCSS
$custom: #12264a;
$custom-light: #585f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12264a",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 218.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27379,
    "c": 0.0717,
    "h": 261.1
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#12264A
secondary
#836735
accent
#AB44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #12264A

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

Preview Lab → · Contrast checker → · Palette generator →

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