#123E72#123E72

#123E72 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.101 H 255.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#123E72
RGBrgb(18, 62, 114)
HSLhsl(213, 73%, 26%)
HSVhsv(213, 84%, 45%)
CMYKcmyk(84.2%, 45.6%, 0%, 55.3%)
CIE-LABlab(26.12, 5.89, -34.17)
CIE-LCHlch(26.12, 34.67, 279.78°)
OKLaboklab(36.46% -0.026 -0.0979)
OKLCHoklch(36.46% 0.101 255.2)
XYZxyz(5.0082, 4.7881, 16.5766)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E72 #724612
analogous
#126E72 #123E72 #161272
triadic
#123E72 #72123E #3E7212
tetradic
#123E72 #72126E #724612 #127216
square
#123E72 #72126E #724612 #127216
split-complementary
#123E72 #721612 #6E7212
monochromatic
#040E1A #0A213D #123E72 #1A5BA7 #2377DC

Accessibility & contrast

On white

10.73
#123E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#123E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E72
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E72#FFFFFF#000000##FFFFFF
##123E721.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#103A71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123e72;
/* rgb */ color: rgb(18, 62, 114);
/* oklch */ color: oklch(36.5% 0.101 255.2);
Tailwind
colors: {
  custom: {
    50: '#61729b',
    500: '#123e72',
    950: '#000000',
  },
}
SCSS
$custom: #123e72;
$custom-light: #61729b;
$custom-dark: #000000;
JSON
{
  "hex": "#123e72",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 212.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.10131,
    "h": 255.2
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#123E72
secondary
#A97537
accent
#9C38EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123E72

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

Preview Lab → · Contrast checker → · Palette generator →

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