#123952#123952

#123952 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.062 H 240.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#123952
RGBrgb(18, 57, 82)
HSLhsl(203, 64%, 20%)
HSVhsv(203, 78%, 32%)
CMYKcmyk(78%, 30.5%, 0%, 67.8%)
CIE-LABlab(22.53, -4.03, -19.11)
CIE-LCHlch(22.53, 19.53, 258.10°)
OKLaboklab(33.01% -0.0303 -0.0539)
OKLCHoklch(33.01% 0.062 240.6)
XYZxyz(3.2350, 3.6637, 8.5177)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123952 #522B12
analogous
#12524B #123952 #121952
triadic
#123952 #521239 #395212
tetradic
#123952 #4B1252 #522B12 #195212
square
#123952 #4B1252 #522B12 #195212
split-complementary
#123952 #521219 #524B12
monochromatic
#061119 #071620 #123952 #1D5C84 #287FB6

Accessibility & contrast

On white

12.12
#123952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123952
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123952#FFFFFF#000000##FFFFFF
##1239521.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#253352
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123952;
/* rgb */ color: rgb(18, 57, 82);
/* oklch */ color: oklch(33.0% 0.062 240.6);
Tailwind
colors: {
  custom: {
    50: '#5a6f82',
    500: '#123952',
    950: '#000000',
  },
}
SCSS
$custom: #123952;
$custom-light: #5a6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#123952",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 203.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.0619,
    "h": 240.6
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#123952
secondary
#8B5735
accent
#8241E7
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123952

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

Preview Lab → · Contrast checker → · Palette generator →

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