#12253B#12253B

#12253B is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.049 H 253.2°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#12253B
RGBrgb(18, 37, 59)
HSLhsl(212, 53%, 15%)
HSVhsv(212, 69%, 23%)
CMYKcmyk(69.5%, 37.3%, 0%, 76.9%)
CIE-LABlab(14.22, 0.53, -16.48)
CIE-LCHlch(14.22, 16.48, 271.83°)
OKLaboklab(26.04% -0.014 -0.0465)
OKLCHoklch(26.04% 0.049 253.2)
XYZxyz(1.7002, 1.7673, 4.3884)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12253B #3B2812
analogous
#123A3B #12253B #13123B
triadic
#12253B #3B1225 #253B12
tetradic
#12253B #3B123A #3B2812 #123B13
square
#12253B #3B123A #3B2812 #123B13
split-complementary
#12253B #3B1312 #3A3B12
monochromatic
#070F17 #070F17 #12253B #20426A #2F6099

Accessibility & contrast

On white

15.51
#12253B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#12253B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12253B
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12253B#FFFFFF#000000##FFFFFF
##12253B1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263C
Deuteranopia (green-blind)
#16223B
Tritanopia (blue-blind)
#002A2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12253b;
/* rgb */ color: rgb(18, 37, 59);
/* oklch */ color: oklch(26.0% 0.049 253.2);
Tailwind
colors: {
  custom: {
    50: '#545f71',
    500: '#12253b',
    950: '#000000',
  },
}
SCSS
$custom: #12253b;
$custom-light: #545f71;
$custom-dark: #000000;
JSON
{
  "hex": "#12253b",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 59
  },
  "hsl": {
    "h": 212.195,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26037,
    "c": 0.04859,
    "h": 253.2
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#12253B
secondary
#745735
accent
#994BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #12253B

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

Preview Lab → · Contrast checker → · Palette generator →

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