#124381#124381

#124381 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.8% C 0.117 H 256.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#124381
RGBrgb(18, 67, 129)
HSLhsl(214, 76%, 29%)
HSVhsv(214, 86%, 51%)
CMYKcmyk(86%, 48.1%, 0%, 49.4%)
CIE-LABlab(28.71, 8.73, -39.45)
CIE-LCHlch(28.71, 40.40, 282.49°)
OKLaboklab(38.79% -0.0271 -0.1133)
OKLCHoklch(38.79% 0.117 256.6)
XYZxyz(6.2176, 5.7271, 21.5424)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124381 #815012
analogous
#127B81 #124381 #191281
triadic
#124381 #811243 #438112
tetradic
#124381 #81127B #815012 #128119
square
#124381 #81127B #815012 #128119
split-complementary
#124381 #811912 #7B8112
monochromatic
#040E1B #0B274B #124381 #195FB7 #2C7CE2

Accessibility & contrast

On white

9.79
#124381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124381
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124381#FFFFFF#000000##FFFFFF
##1243811.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#023F80
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124381;
/* rgb */ color: rgb(18, 67, 129);
/* oklch */ color: oklch(38.8% 0.117 256.6);
Tailwind
colors: {
  custom: {
    50: '#6576a6',
    500: '#124381',
    950: '#000000',
  },
}
SCSS
$custom: #124381;
$custom-light: #6576a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124381",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 213.514,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.11654,
    "h": 256.6
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#124381
secondary
#B77F38
accent
#9F36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124381

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

Preview Lab → · Contrast checker → · Palette generator →

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