#123F72#123F72

#123F72 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.7% C 0.100 H 254.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#123F72
RGBrgb(18, 63, 114)
HSLhsl(212, 73%, 26%)
HSVhsv(212, 84%, 45%)
CMYKcmyk(84.2%, 44.7%, 0%, 55.3%)
CIE-LABlab(26.44, 5.19, -33.66)
CIE-LCHlch(26.44, 34.05, 278.77°)
OKLaboklab(36.71% -0.0269 -0.0964)
OKLCHoklch(36.71% 0.1 254.4)
XYZxyz(5.0631, 4.8979, 16.5949)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F72 #724512
analogous
#126F72 #123F72 #151272
triadic
#123F72 #72123F #3F7212
tetradic
#123F72 #72126F #724512 #127215
square
#123F72 #72126F #724512 #127215
split-complementary
#123F72 #721512 #6F7212
monochromatic
#040F1A #0A223D #123F72 #1A5CA7 #2379DC

Accessibility & contrast

On white

10.61
#123F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#123F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F72
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F72#FFFFFF#000000##FFFFFF
##123F721.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#133B71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123f72;
/* rgb */ color: rgb(18, 63, 114);
/* oklch */ color: oklch(36.7% 0.100 254.4);
Tailwind
colors: {
  custom: {
    50: '#61739b',
    500: '#123f72',
    950: '#000000',
  },
}
SCSS
$custom: #123f72;
$custom-light: #61739b;
$custom-dark: #000000;
JSON
{
  "hex": "#123f72",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 211.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36708,
    "c": 0.10007,
    "h": 254.4
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#123F72
secondary
#A97337
accent
#9A38EF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #123F72

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

Preview Lab → · Contrast checker → · Palette generator →

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