#123152#123152

#123152 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.070 H 252.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#123152
RGBrgb(18, 49, 82)
HSLhsl(211, 64%, 20%)
HSVhsv(211, 78%, 32%)
CMYKcmyk(78%, 40.2%, 0%, 67.8%)
CIE-LABlab(19.78, 1.49, -23.44)
CIE-LCHlch(19.78, 23.49, 273.63°)
OKLaboklab(30.85% -0.0213 -0.0667)
OKLCHoklch(30.85% 0.07 252.3)
XYZxyz(2.8702, 2.9341, 8.3961)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123152 #523312
analogous
#125152 #123152 #131252
triadic
#123152 #521231 #315212
tetradic
#123152 #521251 #523312 #125213
square
#123152 #521251 #523312 #125213
split-complementary
#123152 #521312 #515212
monochromatic
#060F19 #071320 #123152 #1D4F84 #286DB6

Accessibility & contrast

On white

13.23
#123152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#123152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123152
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123152#FFFFFF#000000##FFFFFF
##1231521.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223353
Deuteranopia (green-blind)
#182D51
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123152;
/* rgb */ color: rgb(18, 49, 82);
/* oklch */ color: oklch(30.8% 0.070 252.3);
Tailwind
colors: {
  custom: {
    50: '#596883',
    500: '#123152',
    950: '#000000',
  },
}
SCSS
$custom: #123152;
$custom-light: #596883;
$custom-dark: #000000;
JSON
{
  "hex": "#123152",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 210.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.07001,
    "h": 252.3
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#123152
secondary
#8B6135
accent
#9641E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123152

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

Preview Lab → · Contrast checker → · Palette generator →

#123152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva