#124173#124173

#124173 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.3% C 0.099 H 253.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#124173
RGBrgb(18, 65, 115)
HSLhsl(211, 73%, 26%)
HSVhsv(211, 84%, 45%)
CMYKcmyk(84.3%, 43.5%, 0%, 54.9%)
CIE-LABlab(27.15, 4.23, -33.16)
CIE-LCHlch(27.15, 33.43, 277.27°)
OKLaboklab(37.28% -0.0284 -0.0949)
OKLCHoklch(37.28% 0.099 253.3)
XYZxyz(5.2331, 5.1464, 16.9339)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124173 #734412
analogous
#127173 #124173 #141273
triadic
#124173 #731241 #417312
tetradic
#124173 #731271 #734412 #127314
square
#124173 #731271 #734412 #127314
split-complementary
#124173 #731412 #717312
monochromatic
#040F1A #0A233E #124173 #1A5FA8 #237DDD

Accessibility & contrast

On white

10.35
#124173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#124173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124173
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124173#FFFFFF#000000##FFFFFF
##1241731.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#173C72
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124173;
/* rgb */ color: rgb(18, 65, 115);
/* oklch */ color: oklch(37.3% 0.099 253.3);
Tailwind
colors: {
  custom: {
    50: '#62759b',
    500: '#124173',
    950: '#000000',
  },
}
SCSS
$custom: #124173;
$custom-light: #62759b;
$custom-dark: #000000;
JSON
{
  "hex": "#124173",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 210.928,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37279,
    "c": 0.09907,
    "h": 253.3
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#124173
secondary
#AA7237
accent
#9738F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124173

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

Preview Lab → · Contrast checker → · Palette generator →

#124173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva