#12233F#12233F

#12233F is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.058 H 259.9°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#12233F
RGBrgb(18, 35, 63)
HSLhsl(217, 56%, 16%)
HSVhsv(217, 71%, 25%)
CMYKcmyk(71.4%, 44.4%, 0%, 75.3%)
CIE-LABlab(13.76, 3.67, -19.99)
CIE-LCHlch(13.76, 20.33, 280.39°)
OKLaboklab(25.77% -0.0101 -0.0568)
OKLCHoklch(25.77% 0.058 259.9)
XYZxyz(1.7474, 1.6894, 4.9357)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12233F #3F2E12
analogous
#12393F #12233F #17123F
triadic
#12233F #3F1223 #233F12
tetradic
#12233F #3F1239 #3F2E12 #123F17
square
#12233F #3F1239 #3F2E12 #123F17
split-complementary
#12233F #3F1712 #393F12
monochromatic
#070D18 #070D18 #12233F #203D6F #2D589E

Accessibility & contrast

On white

15.70
#12233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#12233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12233F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12233F#FFFFFF#000000##FFFFFF
##12233F1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172540
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12233f;
/* rgb */ color: rgb(18, 35, 63);
/* oklch */ color: oklch(25.8% 0.058 259.9);
Tailwind
colors: {
  custom: {
    50: '#555d74',
    500: '#12233f',
    950: '#000000',
  },
}
SCSS
$custom: #12233f;
$custom-light: #555d74;
$custom-dark: #000000;
JSON
{
  "hex": "#12233f",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 217.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25767,
    "c": 0.05772,
    "h": 259.9
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#12233F
secondary
#785F35
accent
#A649DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12233F

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

Preview Lab → · Contrast checker → · Palette generator →

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