#12253F#12253F

#12253F is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.3% C 0.055 H 256.7°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#12253F
RGBrgb(18, 37, 63)
HSLhsl(215, 56%, 16%)
HSVhsv(215, 71%, 25%)
CMYKcmyk(71.4%, 41.3%, 0%, 75.3%)
CIE-LABlab(14.46, 2.18, -18.89)
CIE-LCHlch(14.46, 19.02, 276.58°)
OKLaboklab(26.31% -0.0127 -0.0536)
OKLCHoklch(26.31% 0.055 256.7)
XYZxyz(1.8079, 1.8104, 4.9558)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12253F #3F2C12
analogous
#123B3F #12253F #15123F
triadic
#12253F #3F1225 #253F12
tetradic
#12253F #3F123B #3F2C12 #123F15
square
#12253F #3F123B #3F2C12 #123F15
split-complementary
#12253F #3F1512 #3B3F12
monochromatic
#070E18 #070E18 #12253F #20416F #2D5D9E

Accessibility & contrast

On white

15.42
#12253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#12253F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12253F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12253F#FFFFFF#000000##FFFFFF
##12253F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#14233E
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12253f;
/* rgb */ color: rgb(18, 37, 63);
/* oklch */ color: oklch(26.3% 0.055 256.7);
Tailwind
colors: {
  custom: {
    50: '#555f74',
    500: '#12253f',
    950: '#000000',
  },
}
SCSS
$custom: #12253f;
$custom-light: #555f74;
$custom-dark: #000000;
JSON
{
  "hex": "#12253f",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 214.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26307,
    "c": 0.05507,
    "h": 256.7
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#12253F
secondary
#785C35
accent
#A049DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12253F

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

Preview Lab → · Contrast checker → · Palette generator →

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