#12264B#12264B

#12264B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.073 H 261.5°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#12264B
RGBrgb(18, 38, 75)
HSLhsl(219, 61%, 18%)
HSVhsv(219, 76%, 29%)
CMYKcmyk(76%, 49.3%, 0%, 70.6%)
CIE-LABlab(15.61, 6.53, -25.36)
CIE-LCHlch(15.61, 26.18, 284.43°)
OKLaboklab(27.46% -0.0108 -0.0725)
OKLCHoklch(27.46% 0.073 261.5)
XYZxyz(2.2121, 2.0226, 6.9291)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12264B #4B3712
analogous
#12424B #12264B #1A124B
triadic
#12264B #4B1226 #264B12
tetradic
#12264B #4B1242 #4B3712 #124B1A
square
#12264B #4B1242 #4B3712 #124B1A
split-complementary
#12264B #4B1A12 #424B12
monochromatic
#060D19 #060D1A #12264B #1E3F7C #2A58AE

Accessibility & contrast

On white

14.95
#12264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12264B
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12264B#FFFFFF#000000##FFFFFF
##12264B1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4C
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #12264b;
/* rgb */ color: rgb(18, 38, 75);
/* oklch */ color: oklch(27.5% 0.073 261.5);
Tailwind
colors: {
  custom: {
    50: '#585f7d',
    500: '#12264b',
    950: '#000000',
  },
}
SCSS
$custom: #12264b;
$custom-light: #585f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12264b",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 218.947,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27457,
    "c": 0.07332,
    "h": 261.5
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#12264B
secondary
#846835
accent
#AC43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #12264B

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

Preview Lab → · Contrast checker → · Palette generator →

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