#123E5A#123E5A

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

Color values

HEX#123E5A
RGBrgb(18, 62, 90)
HSLhsl(203, 67%, 21%)
HSVhsv(203, 80%, 35%)
CMYKcmyk(80%, 31.1%, 0%, 64.7%)
CIE-LABlab(24.68, -4.11, -21.00)
CIE-LCHlch(24.68, 21.40, 258.94°)
OKLaboklab(34.86% -0.033 -0.0594)
OKLCHoklch(34.86% 0.068 240.9)
XYZxyz(3.8168, 4.3116, 10.3019)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E5A #5A2E12
analogous
#125A52 #123E5A #121A5A
triadic
#123E5A #5A123E #3E5A12
tetradic
#123E5A #52125A #5A2E12 #1A5A12
square
#123E5A #52125A #5A2E12 #1A5A12
split-complementary
#123E5A #5A121A #5A5212
monochromatic
#05121A #081B27 #123E5A #1C618D #2684C0

Accessibility & contrast

On white

11.28
#123E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123E5A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E5A#FFFFFF#000000##FFFFFF
##123E5A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#273859
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123e5a;
/* rgb */ color: rgb(18, 62, 90);
/* oklch */ color: oklch(34.9% 0.068 240.9);
Tailwind
colors: {
  custom: {
    50: '#5c7389',
    500: '#123e5a',
    950: '#000000',
  },
}
SCSS
$custom: #123e5a;
$custom-light: #5c7389;
$custom-dark: #000000;
JSON
{
  "hex": "#123e5a",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 90
  },
  "hsl": {
    "h": 203.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.06795,
    "h": 240.9
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#123E5A
secondary
#935A35
accent
#813EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #123E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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