#123E5D#123E5D

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

Color values

HEX#123E5D
RGBrgb(18, 62, 93)
HSLhsl(205, 68%, 22%)
HSVhsv(205, 81%, 36%)
CMYKcmyk(80.6%, 33.3%, 0%, 63.5%)
CIE-LABlab(24.84, -2.88, -22.70)
CIE-LCHlch(24.84, 22.88, 262.76°)
OKLaboklab(35.04% -0.0319 -0.0643)
OKLCHoklch(35.04% 0.072 243.6)
XYZxyz(3.9471, 4.3637, 10.9881)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E5D #5D3112
analogous
#125D57 #123E5D #12195D
triadic
#123E5D #5D123E #3E5D12
tetradic
#123E5D #57125D #5D3112 #195D12
square
#123E5D #57125D #5D3112 #195D12
split-complementary
#123E5D #5D1219 #5D5712
monochromatic
#05111A #081C2A #123E5D #1C6090 #2682C4

Accessibility & contrast

On white

11.21
#123E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123E5D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E5D#FFFFFF#000000##FFFFFF
##123E5D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#25385C
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123e5d;
/* rgb */ color: rgb(18, 62, 93);
/* oklch */ color: oklch(35.0% 0.072 243.6);
Tailwind
colors: {
  custom: {
    50: '#5c738b',
    500: '#123e5d',
    950: '#000000',
  },
}
SCSS
$custom: #123e5d;
$custom-light: #5c738b;
$custom-dark: #000000;
JSON
{
  "hex": "#123e5d",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 93
  },
  "hsl": {
    "h": 204.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35038,
    "c": 0.07182,
    "h": 243.6
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#123E5D
secondary
#955D35
accent
#853DEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #123E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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