#123E57#123E57

#123E57 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.064 H 237.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#123E57
RGBrgb(18, 62, 87)
HSLhsl(202, 66%, 21%)
HSVhsv(202, 79%, 34%)
CMYKcmyk(79.3%, 28.7%, 0%, 65.9%)
CIE-LABlab(24.52, -5.32, -19.29)
CIE-LCHlch(24.52, 20.01, 254.59°)
OKLaboklab(34.68% -0.0341 -0.0544)
OKLCHoklch(34.68% 0.064 237.9)
XYZxyz(3.6917, 4.2615, 9.6430)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E57 #572B12
analogous
#12574D #123E57 #121B57
triadic
#123E57 #57123E #3E5712
tetradic
#123E57 #4D1257 #572B12 #1B5712
square
#123E57 #4D1257 #572B12 #1B5712
split-complementary
#123E57 #57121B #574D12
monochromatic
#051219 #081A24 #123E57 #1C628A #2786BC

Accessibility & contrast

On white

11.34
#123E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E57
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E57#FFFFFF#000000##FFFFFF
##123E571.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E58
Deuteranopia (green-blind)
#293757
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e57;
/* rgb */ color: rgb(18, 62, 87);
/* oklch */ color: oklch(34.7% 0.064 237.9);
Tailwind
colors: {
  custom: {
    50: '#5b7386',
    500: '#123e57',
    950: '#000000',
  },
}
SCSS
$custom: #123e57;
$custom-light: #5b7386;
$custom-dark: #000000;
JSON
{
  "hex": "#123e57",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 87
  },
  "hsl": {
    "h": 201.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.06424,
    "h": 237.9
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#123E57
secondary
#905635
accent
#7D3FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E57

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

Preview Lab → · Contrast checker → · Palette generator →

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