#123E71#123E71

#123E71 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.4% C 0.100 H 254.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#123E71
RGBrgb(18, 62, 113)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 44%)
CMYKcmyk(84.1%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.06, 5.47, -33.64)
CIE-LCHlch(26.06, 34.08, 279.23°)
OKLaboklab(36.39% -0.0262 -0.0964)
OKLCHoklch(36.39% 0.1 254.8)
XYZxyz(4.9516, 4.7655, 16.2784)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E71 #714512
analogous
#126D71 #123E71 #161271
triadic
#123E71 #71123E #3E7112
tetradic
#123E71 #71126D #714512 #127116
square
#123E71 #71126D #714512 #127116
split-complementary
#123E71 #711612 #6D7112
monochromatic
#040E1A #0A213C #123E71 #1A5BA6 #2378DB

Accessibility & contrast

On white

10.75
#123E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#123E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E71
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E71#FFFFFF#000000##FFFFFF
##123E711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123e71;
/* rgb */ color: rgb(18, 62, 113);
/* oklch */ color: oklch(36.4% 0.100 254.8);
Tailwind
colors: {
  custom: {
    50: '#61729a',
    500: '#123e71',
    950: '#000000',
  },
}
SCSS
$custom: #123e71;
$custom-light: #61729a;
$custom-dark: #000000;
JSON
{
  "hex": "#123e71",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 212.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.09987,
    "h": 254.8
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#123E71
secondary
#A87437
accent
#9B39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123E71

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

Preview Lab → · Contrast checker → · Palette generator →

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