#12234F#12234F

#12234F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.084 H 265.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#12234F
RGBrgb(18, 35, 79)
HSLhsl(223, 63%, 19%)
HSVhsv(223, 77%, 31%)
CMYKcmyk(77.2%, 55.7%, 0%, 69%)
CIE-LABlab(14.93, 10.51, -29.18)
CIE-LCHlch(14.93, 31.01, 289.80°)
OKLaboklab(27.03% -0.0069 -0.0838)
OKLCHoklch(27.03% 0.084 265.3)
XYZxyz(2.2613, 1.8949, 7.6422)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12234F #4F3E12
analogous
#12424F #12234F #20124F
triadic
#12234F #4F1223 #234F12
tetradic
#12234F #4F1242 #4F3E12 #124F20
square
#12234F #4F1242 #4F3E12 #124F20
split-complementary
#12234F #4F2012 #424F12
monochromatic
#060B19 #070D1D #12234F #1D3981 #294FB3

Accessibility & contrast

On white

15.23
#12234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#12234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12234F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12234F#FFFFFF#000000##FFFFFF
##12234F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092851
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12234f;
/* rgb */ color: rgb(18, 35, 79);
/* oklch */ color: oklch(27.0% 0.084 265.3);
Tailwind
colors: {
  custom: {
    50: '#595d81',
    500: '#12234f',
    950: '#000000',
  },
}
SCSS
$custom: #12234f;
$custom-light: #595d81;
$custom-dark: #000000;
JSON
{
  "hex": "#12234f",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 223.279,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27033,
    "c": 0.08411,
    "h": 265.3
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#12234F
secondary
#887135
accent
#B842E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #12234F

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

Preview Lab → · Contrast checker → · Palette generator →

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