#124072#124072

#124072 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.0% C 0.099 H 253.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#124072
RGBrgb(18, 64, 114)
HSLhsl(211, 73%, 26%)
HSVhsv(211, 84%, 45%)
CMYKcmyk(84.2%, 43.9%, 0%, 55.3%)
CIE-LABlab(26.76, 4.50, -33.14)
CIE-LCHlch(26.76, 33.45, 277.73°)
OKLaboklab(36.96% -0.0278 -0.0949)
OKLCHoklch(36.96% 0.099 253.7)
XYZxyz(5.1190, 5.0097, 16.6135)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124072 #724412
analogous
#127072 #124072 #141272
triadic
#124072 #721240 #407212
tetradic
#124072 #721270 #724412 #127214
square
#124072 #721270 #724412 #127214
split-complementary
#124072 #721412 #707212
monochromatic
#040F1A #0A223D #124072 #1A5EA7 #237BDC

Accessibility & contrast

On white

10.49
#124072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#124072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124072
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124072#FFFFFF#000000##FFFFFF
##1240721.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#163B71
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124072;
/* rgb */ color: rgb(18, 64, 114);
/* oklch */ color: oklch(37.0% 0.099 253.7);
Tailwind
colors: {
  custom: {
    50: '#61749b',
    500: '#124072',
    950: '#000000',
  },
}
SCSS
$custom: #124072;
$custom-light: #61749b;
$custom-dark: #000000;
JSON
{
  "hex": "#124072",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 211.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36958,
    "c": 0.09885,
    "h": 253.7
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#124072
secondary
#A97237
accent
#9838EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124072

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

Preview Lab → · Contrast checker → · Palette generator →

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