#124054#124054

#124054 is a dark, muted cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.060 H 230.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#124054
RGBrgb(18, 64, 84)
HSLhsl(198, 65%, 20%)
HSVhsv(198, 79%, 33%)
CMYKcmyk(78.6%, 23.8%, 0%, 67.1%)
CIE-LABlab(25.06, -7.80, -16.48)
CIE-LCHlch(25.06, 18.23, 244.68°)
OKLaboklab(35.06% -0.0376 -0.0463)
OKLCHoklch(35.06% 0.06 230.9)
XYZxyz(3.6824, 4.4351, 9.0478)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124054 #542612
analogous
#125447 #124054 #121F54
triadic
#124054 #541240 #405412
tetradic
#124054 #471254 #542612 #1F5412
square
#124054 #471254 #542612 #1F5412
split-complementary
#124054 #54121F #544712
monochromatic
#051319 #071A22 #124054 #1D6686 #288DB9

Accessibility & contrast

On white

11.13
#124054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#124054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124054
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124054#FFFFFF#000000##FFFFFF
##1240541.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F55
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#004547
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #124054;
/* rgb */ color: rgb(18, 64, 84);
/* oklch */ color: oklch(35.1% 0.060 230.9);
Tailwind
colors: {
  custom: {
    50: '#5b7484',
    500: '#124054',
    950: '#000000',
  },
}
SCSS
$custom: #124054;
$custom-light: #5b7484;
$custom-dark: #000000;
JSON
{
  "hex": "#124054",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 84
  },
  "hsl": {
    "h": 198.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.05965,
    "h": 230.9
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#124054
secondary
#8D5035
accent
#7340E8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #124054

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

Preview Lab → · Contrast checker → · Palette generator →

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