#124581#124581

#124581 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.3% C 0.114 H 255.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#124581
RGBrgb(18, 69, 129)
HSLhsl(212, 76%, 29%)
HSVhsv(212, 86%, 51%)
CMYKcmyk(86%, 46.5%, 0%, 49.4%)
CIE-LABlab(29.33, 7.36, -38.45)
CIE-LCHlch(29.33, 39.15, 280.83°)
OKLaboklab(39.28% -0.0287 -0.1104)
OKLCHoklch(39.28% 0.114 255.4)
XYZxyz(6.3385, 5.9690, 21.5827)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124581 #814E12
analogous
#127D81 #124581 #161281
triadic
#124581 #811245 #458112
tetradic
#124581 #81127D #814E12 #128116
square
#124581 #81127D #814E12 #128116
split-complementary
#124581 #811612 #7D8112
monochromatic
#040E1B #0B284B #124581 #1962B7 #2C7FE2

Accessibility & contrast

On white

9.57
#124581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124581
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124581#FFFFFF#000000##FFFFFF
##1245811.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#0B4180
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124581;
/* rgb */ color: rgb(18, 69, 129);
/* oklch */ color: oklch(39.3% 0.114 255.4);
Tailwind
colors: {
  custom: {
    50: '#6578a6',
    500: '#124581',
    950: '#000000',
  },
}
SCSS
$custom: #124581;
$custom-light: #6578a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124581",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 212.432,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.11405,
    "h": 255.4
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#124581
secondary
#B77D38
accent
#9C36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124581

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

Preview Lab → · Contrast checker → · Palette generator →

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