#124881#124881

#124881 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 40.0% C 0.110 H 253.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#124881
RGBrgb(18, 72, 129)
HSLhsl(211, 76%, 29%)
HSVhsv(211, 86%, 51%)
CMYKcmyk(86%, 44.2%, 0%, 49.4%)
CIE-LABlab(30.27, 5.31, -36.95)
CIE-LCHlch(30.27, 37.32, 278.18°)
OKLaboklab(40% -0.0313 -0.1059)
OKLCHoklch(40% 0.11 253.5)
XYZxyz(6.5278, 6.3475, 21.6458)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124881 #814B12
analogous
#128081 #124881 #141281
triadic
#124881 #811248 #488112
tetradic
#124881 #811280 #814B12 #128114
square
#124881 #811280 #814B12 #128114
split-complementary
#124881 #811412 #808112
monochromatic
#040F1B #0B2A4B #124881 #1966B7 #2C84E2

Accessibility & contrast

On white

9.25
#124881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#124881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124881
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124881#FFFFFF#000000##FFFFFF
##1248811.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#164380
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124881;
/* rgb */ color: rgb(18, 72, 129);
/* oklch */ color: oklch(40.0% 0.110 253.5);
Tailwind
colors: {
  custom: {
    50: '#657aa6',
    500: '#124881',
    950: '#000000',
  },
}
SCSS
$custom: #124881;
$custom-light: #657aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#124881",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 210.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40003,
    "c": 0.11039,
    "h": 253.5
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#124881
secondary
#B77938
accent
#9636F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #124881

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

Preview Lab → · Contrast checker → · Palette generator →

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