#124181#124181

#124181 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.3% C 0.119 H 257.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#124181
RGBrgb(18, 65, 129)
HSLhsl(215, 76%, 29%)
HSVhsv(215, 86%, 51%)
CMYKcmyk(86%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.10, 10.12, -40.44)
CIE-LCHlch(28.10, 41.69, 284.05°)
OKLaboklab(38.32% -0.0255 -0.1163)
OKLCHoklch(38.32% 0.119 257.6)
XYZxyz(6.1007, 5.4934, 21.5034)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124181 #815212
analogous
#127981 #124181 #1B1281
triadic
#124181 #811241 #418112
tetradic
#124181 #811279 #815212 #12811B
square
#124181 #811279 #815212 #12811B
split-complementary
#124181 #811B12 #798112
monochromatic
#040E1B #0B264B #124181 #195CB7 #2C79E2

Accessibility & contrast

On white

10.01
#124181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124181
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124181#FFFFFF#000000##FFFFFF
##1241811.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4883
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124181;
/* rgb */ color: rgb(18, 65, 129);
/* oklch */ color: oklch(38.3% 0.119 257.6);
Tailwind
colors: {
  custom: {
    50: '#6575a6',
    500: '#124181',
    950: '#000000',
  },
}
SCSS
$custom: #124181;
$custom-light: #6575a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124181",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 214.595,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.11908,
    "h": 257.6
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#124181
secondary
#B78138
accent
#A236F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124181

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

Preview Lab → · Contrast checker → · Palette generator →

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