#123957#123957

#123957 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.069 H 245.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#123957
RGBrgb(18, 57, 87)
HSLhsl(206, 66%, 21%)
HSVhsv(206, 79%, 34%)
CMYKcmyk(79.3%, 34.5%, 0%, 65.9%)
CIE-LABlab(22.80, -1.98, -21.98)
CIE-LCHlch(22.80, 22.07, 264.85°)
OKLaboklab(33.32% -0.0285 -0.0623)
OKLCHoklch(33.32% 0.069 245.4)
XYZxyz(3.4322, 3.7426, 9.5565)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123957 #573012
analogous
#125752 #123957 #121657
triadic
#123957 #571239 #395712
tetradic
#123957 #521257 #573012 #165712
square
#123957 #521257 #573012 #165712
split-complementary
#123957 #571216 #575212
monochromatic
#051119 #081824 #123957 #1C5A8A #277BBC

Accessibility & contrast

On white

12.01
#123957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123957
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123957#FFFFFF#000000##FFFFFF
##1239571.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#223456
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123957;
/* rgb */ color: rgb(18, 57, 87);
/* oklch */ color: oklch(33.3% 0.069 245.4);
Tailwind
colors: {
  custom: {
    50: '#5b6f86',
    500: '#123957',
    950: '#000000',
  },
}
SCSS
$custom: #123957;
$custom-light: #5b6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#123957",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 87
  },
  "hsl": {
    "h": 206.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33319,
    "c": 0.06853,
    "h": 245.4
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#123957
secondary
#905C35
accent
#893FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123957

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

Preview Lab → · Contrast checker → · Palette generator →

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