#124172#124172

#124172 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.2% C 0.098 H 252.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#124172
RGBrgb(18, 65, 114)
HSLhsl(211, 73%, 26%)
HSVhsv(211, 84%, 45%)
CMYKcmyk(84.2%, 43%, 0%, 55.3%)
CIE-LABlab(27.08, 3.81, -32.63)
CIE-LCHlch(27.08, 32.85, 276.67°)
OKLaboklab(37.21% -0.0287 -0.0933)
OKLCHoklch(37.21% 0.098 252.9)
XYZxyz(5.1759, 5.1235, 16.6325)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124172 #724312
analogous
#127172 #124172 #131272
triadic
#124172 #721241 #417212
tetradic
#124172 #721271 #724312 #127213
square
#124172 #721271 #724312 #127213
split-complementary
#124172 #721312 #717212
monochromatic
#040F1A #0A233D #124172 #1A5FA7 #237DDC

Accessibility & contrast

On white

10.37
#124172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124172
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124172#FFFFFF#000000##FFFFFF
##1241721.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124172;
/* rgb */ color: rgb(18, 65, 114);
/* oklch */ color: oklch(37.2% 0.098 252.9);
Tailwind
colors: {
  custom: {
    50: '#61759b',
    500: '#124172',
    950: '#000000',
  },
}
SCSS
$custom: #124172;
$custom-light: #61759b;
$custom-dark: #000000;
JSON
{
  "hex": "#124172",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 210.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37208,
    "c": 0.09765,
    "h": 252.9
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#124172
secondary
#A97137
accent
#9638EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124172

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

Preview Lab → · Contrast checker → · Palette generator →

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