#123E58#123E58

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

Color values

HEX#123E58
RGBrgb(18, 62, 88)
HSLhsl(202, 66%, 21%)
HSVhsv(202, 80%, 35%)
CMYKcmyk(79.5%, 29.5%, 0%, 65.5%)
CIE-LABlab(24.57, -4.92, -19.86)
CIE-LCHlch(24.57, 20.46, 256.10°)
OKLaboklab(34.74% -0.0337 -0.0561)
OKLCHoklch(34.74% 0.065 239)
XYZxyz(3.7328, 4.2780, 9.8596)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E58 #582C12
analogous
#12584F #123E58 #121B58
triadic
#123E58 #58123E #3E5812
tetradic
#123E58 #4F1258 #582C12 #1B5812
square
#123E58 #4F1258 #582C12 #1B5812
split-complementary
#123E58 #58121B #584F12
monochromatic
#051219 #081A25 #123E58 #1C628B #2786BE

Accessibility & contrast

On white

11.32
#123E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E58
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E58#FFFFFF#000000##FFFFFF
##123E581.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#283758
Tritanopia (blue-blind)
#004547
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123e58;
/* rgb */ color: rgb(18, 62, 88);
/* oklch */ color: oklch(34.7% 0.065 239.0);
Tailwind
colors: {
  custom: {
    50: '#5b7387',
    500: '#123e58',
    950: '#000000',
  },
}
SCSS
$custom: #123e58;
$custom-light: #5b7387;
$custom-dark: #000000;
JSON
{
  "hex": "#123e58",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 88
  },
  "hsl": {
    "h": 202.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34736,
    "c": 0.06545,
    "h": 239
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#123E58
secondary
#915735
accent
#7E3FE9
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E58

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

Preview Lab → · Contrast checker → · Palette generator →

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