#12233B#12233B

#12233B is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.051 H 257.2°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#12233B
RGBrgb(18, 35, 59)
HSLhsl(215, 53%, 15%)
HSVhsv(215, 69%, 23%)
CMYKcmyk(69.5%, 40.7%, 0%, 76.9%)
CIE-LABlab(13.51, 2.00, -17.59)
CIE-LCHlch(13.51, 17.70, 276.48°)
OKLaboklab(25.49% -0.0113 -0.0498)
OKLCHoklch(25.49% 0.051 257.2)
XYZxyz(1.6396, 1.6463, 4.3682)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12233B #3B2A12
analogous
#12373B #12233B #15123B
triadic
#12233B #3B1223 #233B12
tetradic
#12233B #3B1237 #3B2A12 #123B15
square
#12233B #3B1237 #3B2A12 #123B15
split-complementary
#12233B #3B1512 #373B12
monochromatic
#070E17 #070E17 #12233B #203F6A #2F5B99

Accessibility & contrast

On white

15.80
#12233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#12233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12233B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12233B#FFFFFF#000000##FFFFFF
##12233B1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253C
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12233b;
/* rgb */ color: rgb(18, 35, 59);
/* oklch */ color: oklch(25.5% 0.051 257.2);
Tailwind
colors: {
  custom: {
    50: '#545d71',
    500: '#12233b',
    950: '#000000',
  },
}
SCSS
$custom: #12233b;
$custom-light: #545d71;
$custom-dark: #000000;
JSON
{
  "hex": "#12233b",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 215.122,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25485,
    "c": 0.05106,
    "h": 257.2
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#12233B
secondary
#745A35
accent
#A04BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #12233B

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

Preview Lab → · Contrast checker → · Palette generator →

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