#124281#124281

#124281 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.6% C 0.118 H 257.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#124281
RGBrgb(18, 66, 129)
HSLhsl(214, 76%, 29%)
HSVhsv(214, 86%, 51%)
CMYKcmyk(86%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.40, 9.43, -39.95)
CIE-LCHlch(28.40, 41.04, 283.28°)
OKLaboklab(38.56% -0.0263 -0.1148)
OKLCHoklch(38.56% 0.118 257.1)
XYZxyz(6.1586, 5.6092, 21.5227)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124281 #815112
analogous
#127A81 #124281 #1A1281
triadic
#124281 #811242 #428112
tetradic
#124281 #81127A #815112 #12811A
square
#124281 #81127A #815112 #12811A
split-complementary
#124281 #811A12 #7A8112
monochromatic
#040E1B #0B274B #124281 #195DB7 #2C7AE2

Accessibility & contrast

On white

9.90
#124281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124281
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124281#FFFFFF#000000##FFFFFF
##1242811.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124281;
/* rgb */ color: rgb(18, 66, 129);
/* oklch */ color: oklch(38.6% 0.118 257.1);
Tailwind
colors: {
  custom: {
    50: '#6575a6',
    500: '#124281',
    950: '#000000',
  },
}
SCSS
$custom: #124281;
$custom-light: #6575a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124281",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 214.054,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.1178,
    "h": 257.1
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#124281
secondary
#B78038
accent
#A136F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124281

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

Preview Lab → · Contrast checker → · Palette generator →

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