#123B57#123B57

#123B57 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.067 H 242.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#123B57
RGBrgb(18, 59, 87)
HSLhsl(204, 66%, 21%)
HSVhsv(204, 79%, 34%)
CMYKcmyk(79.3%, 32.2%, 0%, 65.9%)
CIE-LABlab(23.49, -3.33, -20.91)
CIE-LCHlch(23.49, 21.17, 260.95°)
OKLaboklab(33.86% -0.0308 -0.0591)
OKLCHoklch(33.86% 0.067 242.5)
XYZxyz(3.5331, 3.9442, 9.5901)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B57 #572E12
analogous
#125750 #123B57 #121857
triadic
#123B57 #57123B #3B5712
tetradic
#123B57 #501257 #572E12 #185712
square
#123B57 #501257 #572E12 #185712
split-complementary
#123B57 #571218 #575012
monochromatic
#051119 #081924 #123B57 #1C5D8A #2780BC

Accessibility & contrast

On white

11.74
#123B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B57
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B57#FFFFFF#000000##FFFFFF
##123B571.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C58
Deuteranopia (green-blind)
#253556
Tritanopia (blue-blind)
#004245
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123b57;
/* rgb */ color: rgb(18, 59, 87);
/* oklch */ color: oklch(33.9% 0.067 242.5);
Tailwind
colors: {
  custom: {
    50: '#5b7086',
    500: '#123b57',
    950: '#000000',
  },
}
SCSS
$custom: #123b57;
$custom-light: #5b7086;
$custom-dark: #000000;
JSON
{
  "hex": "#123b57",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 87
  },
  "hsl": {
    "h": 204.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.06667,
    "h": 242.5
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#123B57
secondary
#905A35
accent
#843FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123B57

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

Preview Lab → · Contrast checker → · Palette generator →

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