#12243E#12243E

#12243E is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.0% C 0.055 H 257.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#12243E
RGBrgb(18, 36, 62)
HSLhsl(215, 55%, 16%)
HSVhsv(215, 71%, 24%)
CMYKcmyk(71%, 41.9%, 0%, 75.7%)
CIE-LABlab(14.05, 2.50, -18.84)
CIE-LCHlch(14.05, 19.01, 277.56°)
OKLaboklab(25.97% -0.0117 -0.0534)
OKLCHoklch(25.97% 0.055 257.6)
XYZxyz(1.7495, 1.7380, 4.7998)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12243E #3E2C12
analogous
#123A3E #12243E #16123E
triadic
#12243E #3E1224 #243E12
tetradic
#12243E #3E123A #3E2C12 #123E16
square
#12243E #3E123A #3E2C12 #123E16
split-complementary
#12243E #3E1612 #3A3E12
monochromatic
#070E18 #070E18 #12243E #20406D #2E5B9D

Accessibility & contrast

On white

15.58
#12243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#12243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12243E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12243E#FFFFFF#000000##FFFFFF
##12243E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#13223D
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12243e;
/* rgb */ color: rgb(18, 36, 62);
/* oklch */ color: oklch(26.0% 0.055 257.6);
Tailwind
colors: {
  custom: {
    50: '#555e73',
    500: '#12243e',
    950: '#000000',
  },
}
SCSS
$custom: #12243e;
$custom-light: #555e73;
$custom-dark: #000000;
JSON
{
  "hex": "#12243e",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 215.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25966,
    "c": 0.05472,
    "h": 257.6
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#12243E
secondary
#775C35
accent
#A149DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12243E

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

Preview Lab → · Contrast checker → · Palette generator →

#12243E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva