#124180#124180

#124180 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.2% C 0.118 H 257.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#124180
RGBrgb(18, 65, 128)
HSLhsl(214, 75%, 29%)
HSVhsv(214, 86%, 50%)
CMYKcmyk(85.9%, 49.2%, 0%, 49.8%)
CIE-LABlab(28.03, 9.70, -39.93)
CIE-LCHlch(28.03, 41.09, 283.66°)
OKLaboklab(38.24% -0.0257 -0.1148)
OKLCHoklch(38.24% 0.118 257.4)
XYZxyz(6.0346, 5.4670, 21.1551)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124180 #805112
analogous
#127880 #124180 #1A1280
triadic
#124180 #801241 #418012
tetradic
#124180 #801278 #805112 #12801A
square
#124180 #801278 #805112 #12801A
split-complementary
#124180 #801A12 #788012
monochromatic
#040E1B #0A264A #124180 #1A5CB6 #2B79E1

Accessibility & contrast

On white

10.03
#124180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124180
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124180#FFFFFF#000000##FFFFFF
##1241801.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124180;
/* rgb */ color: rgb(18, 65, 128);
/* oklch */ color: oklch(38.2% 0.118 257.4);
Tailwind
colors: {
  custom: {
    50: '#6575a5',
    500: '#124180',
    950: '#000000',
  },
}
SCSS
$custom: #124180;
$custom-light: #6575a5;
$custom-dark: #000000;
JSON
{
  "hex": "#124180",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 128
  },
  "hsl": {
    "h": 214.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.11764,
    "h": 257.4
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #124180

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

Preview Lab → · Contrast checker → · Palette generator →

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