#123E5B#123E5B

#123E5B is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.9% C 0.069 H 241.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#123E5B
RGBrgb(18, 62, 91)
HSLhsl(204, 67%, 21%)
HSVhsv(204, 80%, 36%)
CMYKcmyk(80.2%, 31.9%, 0%, 64.3%)
CIE-LABlab(24.73, -3.70, -21.57)
CIE-LCHlch(24.73, 21.89, 260.27°)
OKLaboklab(34.92% -0.0326 -0.061)
OKLCHoklch(34.92% 0.069 241.9)
XYZxyz(3.8597, 4.3287, 10.5276)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E5B #5B2F12
analogous
#125B54 #123E5B #121A5B
triadic
#123E5B #5B123E #3E5B12
tetradic
#123E5B #54125B #5B2F12 #1A5B12
square
#123E5B #54125B #5B2F12 #1A5B12
split-complementary
#123E5B #5B121A #5B5412
monochromatic
#05111A #081B28 #123E5B #1C618E #2684C1

Accessibility & contrast

On white

11.26
#123E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123E5B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E5B#FFFFFF#000000##FFFFFF
##123E5B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5C
Deuteranopia (green-blind)
#26385A
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123e5b;
/* rgb */ color: rgb(18, 62, 91);
/* oklch */ color: oklch(34.9% 0.069 241.9);
Tailwind
colors: {
  custom: {
    50: '#5c7389',
    500: '#123e5b',
    950: '#000000',
  },
}
SCSS
$custom: #123e5b;
$custom-light: #5c7389;
$custom-dark: #000000;
JSON
{
  "hex": "#123e5b",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 91
  },
  "hsl": {
    "h": 203.836,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34915,
    "c": 0.06922,
    "h": 241.9
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#123E5B
secondary
#935B35
accent
#823EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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