#123D71#123D71

#123D71 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.1% C 0.101 H 255.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#123D71
RGBrgb(18, 61, 113)
HSLhsl(213, 73%, 26%)
HSVhsv(213, 84%, 44%)
CMYKcmyk(84.1%, 46%, 0%, 55.7%)
CIE-LABlab(25.74, 6.16, -34.15)
CIE-LCHlch(25.74, 34.70, 280.23°)
OKLaboklab(36.14% -0.0253 -0.0979)
OKLCHoklch(36.14% 0.101 255.5)
XYZxyz(4.8977, 4.6577, 16.2605)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D71 #714612
analogous
#126C71 #123D71 #161271
triadic
#123D71 #71123D #3D7112
tetradic
#123D71 #71126C #714612 #127116
square
#123D71 #71126C #714612 #127116
split-complementary
#123D71 #711612 #6C7112
monochromatic
#040E1A #0A213C #123D71 #1A59A6 #2376DB

Accessibility & contrast

On white

10.87
#123D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#123D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D71
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D71#FFFFFF#000000##FFFFFF
##123D711.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123d71;
/* rgb */ color: rgb(18, 61, 113);
/* oklch */ color: oklch(36.1% 0.101 255.5);
Tailwind
colors: {
  custom: {
    50: '#61729a',
    500: '#123d71',
    950: '#000000',
  },
}
SCSS
$custom: #123d71;
$custom-light: #61729a;
$custom-dark: #000000;
JSON
{
  "hex": "#123d71",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 212.842,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.10111,
    "h": 255.5
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#123D71
secondary
#A87537
accent
#9D39EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D71

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

Preview Lab → · Contrast checker → · Palette generator →

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