#124681#124681

#124681 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.113 H 254.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#124681
RGBrgb(18, 70, 129)
HSLhsl(212, 76%, 29%)
HSVhsv(212, 86%, 51%)
CMYKcmyk(86%, 45.7%, 0%, 49.4%)
CIE-LABlab(29.65, 6.67, -37.95)
CIE-LCHlch(29.65, 38.53, 279.97°)
OKLaboklab(39.52% -0.0296 -0.1089)
OKLCHoklch(39.52% 0.113 254.8)
XYZxyz(6.4006, 6.0931, 21.6034)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124681 #814D12
analogous
#127E81 #124681 #161281
triadic
#124681 #811246 #468112
tetradic
#124681 #81127E #814D12 #128116
square
#124681 #81127E #814D12 #128116
split-complementary
#124681 #811612 #7E8112
monochromatic
#040F1B #0B294B #124681 #1963B7 #2C81E2

Accessibility & contrast

On white

9.46
#124681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#124681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124681
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124681#FFFFFF#000000##FFFFFF
##1246811.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#0F4180
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124681;
/* rgb */ color: rgb(18, 70, 129);
/* oklch */ color: oklch(39.5% 0.113 254.8);
Tailwind
colors: {
  custom: {
    50: '#6578a6',
    500: '#124681',
    950: '#000000',
  },
}
SCSS
$custom: #124681;
$custom-light: #6578a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124681",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 129
  },
  "hsl": {
    "h": 211.892,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.11282,
    "h": 254.8
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#124681
secondary
#B77B38
accent
#9A36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #124681

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

Preview Lab → · Contrast checker → · Palette generator →

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