#124781#124781

#124781 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.112 H 254.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#124781
RGBrgb(18, 71, 129)
HSLhsl(211, 76%, 29%)
HSVhsv(211, 86%, 51%)
CMYKcmyk(86%, 45%, 0%, 49.4%)
CIE-LABlab(29.96, 5.99, -37.45)
CIE-LCHlch(29.96, 37.92, 279.09°)
OKLaboklab(39.76% -0.0304 -0.1074)
OKLCHoklch(39.76% 0.112 254.2)
XYZxyz(6.4637, 6.2192, 21.6244)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124781 #814C12
analogous
#127F81 #124781 #141281
triadic
#124781 #811247 #478112
tetradic
#124781 #81127F #814C12 #128114
square
#124781 #81127F #814C12 #128114
split-complementary
#124781 #811412 #7F8112
monochromatic
#040F1B #0B294B #124781 #1965B7 #2C83E2

Accessibility & contrast

On white

9.36
#124781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#124781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124781
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124781#FFFFFF#000000##FFFFFF
##1247811.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124781;
/* rgb */ color: rgb(18, 71, 129);
/* oklch */ color: oklch(39.8% 0.112 254.2);
Tailwind
colors: {
  custom: {
    50: '#6579a6',
    500: '#124781',
    950: '#000000',
  },
}
SCSS
$custom: #124781;
$custom-light: #6579a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124781",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 211.351,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.1116,
    "h": 254.2
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#124781
secondary
#B77A38
accent
#9836F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #124781

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

Preview Lab → · Contrast checker → · Palette generator →

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