#124981#124981

#124981 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.109 H 252.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#124981
RGBrgb(18, 73, 129)
HSLhsl(210, 76%, 29%)
HSVhsv(210, 86%, 51%)
CMYKcmyk(86%, 43.4%, 0%, 49.4%)
CIE-LABlab(30.59, 4.63, -36.44)
CIE-LCHlch(30.59, 36.74, 277.24°)
OKLaboklab(40.25% -0.0321 -0.1044)
OKLCHoklch(40.25% 0.109 252.9)
XYZxyz(6.5929, 6.4778, 21.6675)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124981 #814A12
analogous
#128181 #124981 #121281
triadic
#124981 #811249 #498112
tetradic
#124981 #811281 #814A12 #128112
square
#124981 #811281 #814A12 #128112
split-complementary
#124981 #811212 #818112
monochromatic
#040F1B #0B2B4B #124981 #1967B7 #2C86E2

Accessibility & contrast

On white

9.15
#124981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#124981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124981
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124981#FFFFFF#000000##FFFFFF
##1249811.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D83
Deuteranopia (green-blind)
#194380
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124981;
/* rgb */ color: rgb(18, 73, 129);
/* oklch */ color: oklch(40.2% 0.109 252.9);
Tailwind
colors: {
  custom: {
    50: '#657ba6',
    500: '#124981',
    950: '#000000',
  },
}
SCSS
$custom: #124981;
$custom-light: #657ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#124981",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 210.27,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.10921,
    "h": 252.9
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#124981
secondary
#B77838
accent
#9536F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #124981

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

Preview Lab → · Contrast checker → · Palette generator →

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