#123D72#123D72

#123D72 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.2% C 0.103 H 255.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#123D72
RGBrgb(18, 61, 114)
HSLhsl(213, 73%, 26%)
HSVhsv(213, 84%, 45%)
CMYKcmyk(84.2%, 46.5%, 0%, 55.3%)
CIE-LABlab(25.80, 6.58, -34.68)
CIE-LCHlch(25.80, 35.30, 280.75°)
OKLaboklab(36.21% -0.0251 -0.0994)
OKLCHoklch(36.21% 0.103 255.9)
XYZxyz(4.9543, 4.6804, 16.5586)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D72 #724712
analogous
#126D72 #123D72 #171272
triadic
#123D72 #72123D #3D7212
tetradic
#123D72 #72126D #724712 #127217
square
#123D72 #72126D #724712 #127217
split-complementary
#123D72 #721712 #6D7212
monochromatic
#040E1A #0A213D #123D72 #1A59A7 #2376DC

Accessibility & contrast

On white

10.85
#123D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#123D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D72
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D72#FFFFFF#000000##FFFFFF
##123D721.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#0D3971
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123d72;
/* rgb */ color: rgb(18, 61, 114);
/* oklch */ color: oklch(36.2% 0.103 255.9);
Tailwind
colors: {
  custom: {
    50: '#61729b',
    500: '#123d72',
    950: '#000000',
  },
}
SCSS
$custom: #123d72;
$custom-light: #61729b;
$custom-dark: #000000;
JSON
{
  "hex": "#123d72",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 213.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36213,
    "c": 0.10256,
    "h": 255.9
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#123D72
secondary
#A97637
accent
#9D38EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123D72

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

Preview Lab → · Contrast checker → · Palette generator →

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