#123F57#123F57

#123F57 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.064 H 236.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#123F57
RGBrgb(18, 63, 87)
HSLhsl(201, 66%, 21%)
HSVhsv(201, 79%, 34%)
CMYKcmyk(79.3%, 27.6%, 0%, 65.9%)
CIE-LABlab(24.86, -5.97, -18.75)
CIE-LCHlch(24.86, 19.68, 252.35°)
OKLaboklab(34.95% -0.0353 -0.0528)
OKLCHoklch(34.95% 0.064 236.3)
XYZxyz(3.7466, 4.3713, 9.6613)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F57 #572A12
analogous
#12574C #123F57 #121C57
triadic
#123F57 #57123F #3F5712
tetradic
#123F57 #4C1257 #572A12 #1C5712
square
#123F57 #4C1257 #572A12 #1C5712
split-complementary
#123F57 #57121C #574C12
monochromatic
#051219 #081A24 #123F57 #1C648A #2788BC

Accessibility & contrast

On white

11.20
#123F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F57
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F57#FFFFFF#000000##FFFFFF
##123F571.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F58
Deuteranopia (green-blind)
#2A3857
Tritanopia (blue-blind)
#004547
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123f57;
/* rgb */ color: rgb(18, 63, 87);
/* oklch */ color: oklch(35.0% 0.064 236.3);
Tailwind
colors: {
  custom: {
    50: '#5b7486',
    500: '#123f57',
    950: '#000000',
  },
}
SCSS
$custom: #123f57;
$custom-light: #5b7486;
$custom-dark: #000000;
JSON
{
  "hex": "#123f57",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 87
  },
  "hsl": {
    "h": 200.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.06353,
    "h": 236.3
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#123F57
secondary
#905535
accent
#7A3FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123F57

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

Preview Lab → · Contrast checker → · Palette generator →

#123F57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva