#124A74#124A74

#124A74 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.6% C 0.090 H 246.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#124A74
RGBrgb(18, 74, 116)
HSLhsl(206, 73%, 26%)
HSVhsv(206, 84%, 45%)
CMYKcmyk(84.5%, 36.2%, 0%, 54.5%)
CIE-LABlab(30.12, -1.40, -29.06)
CIE-LCHlch(30.12, 29.09, 267.24°)
OKLaboklab(39.63% -0.0366 -0.0827)
OKLCHoklch(39.63% 0.09 246.1)
XYZxyz(5.8494, 6.2864, 17.4247)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A74 #743C12
analogous
#12746D #124A74 #121974
triadic
#124A74 #74124A #4A7412
tetradic
#124A74 #6D1274 #743C12 #197412
square
#124A74 #6D1274 #743C12 #197412
split-complementary
#124A74 #741219 #746D12
monochromatic
#04111A #0A283F #124A74 #1A6CA9 #238DDD

Accessibility & contrast

On white

9.30
#124A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#124A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A74
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A74#FFFFFF#000000##FFFFFF
##124A741.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124a74;
/* rgb */ color: rgb(18, 74, 116);
/* oklch */ color: oklch(39.6% 0.090 246.1);
Tailwind
colors: {
  custom: {
    50: '#627c9c',
    500: '#124a74',
    950: '#000000',
  },
}
SCSS
$custom: #124a74;
$custom-light: #627c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#124a74",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 116
  },
  "hsl": {
    "h": 205.714,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.09045,
    "h": 246.1
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#124A74
secondary
#AB6937
accent
#8738F0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124A74

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

Preview Lab → · Contrast checker → · Palette generator →

#124A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva