#124052#124052

#124052 is a dark, muted cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.058 H 228.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#124052
RGBrgb(18, 64, 82)
HSLhsl(197, 64%, 20%)
HSVhsv(197, 78%, 32%)
CMYKcmyk(78%, 22%, 0%, 67.8%)
CIE-LABlab(24.97, -8.58, -15.32)
CIE-LCHlch(24.97, 17.56, 240.75°)
OKLaboklab(34.95% -0.0385 -0.0429)
OKLCHoklch(34.95% 0.058 228.1)
XYZxyz(3.6052, 4.4042, 8.6411)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124052 #522412
analogous
#125244 #124052 #122052
triadic
#124052 #521240 #405212
tetradic
#124052 #441252 #522412 #205212
square
#124052 #441252 #522412 #205212
split-complementary
#124052 #521220 #524412
monochromatic
#061419 #071920 #124052 #1D6784 #288EB6

Accessibility & contrast

On white

11.16
#124052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#124052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124052
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124052#FFFFFF#000000##FFFFFF
##1240521.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#2E3852
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #124052;
/* rgb */ color: rgb(18, 64, 82);
/* oklch */ color: oklch(35.0% 0.058 228.1);
Tailwind
colors: {
  custom: {
    50: '#5a7482',
    500: '#124052',
    950: '#000000',
  },
}
SCSS
$custom: #124052;
$custom-light: #5a7482;
$custom-dark: #000000;
JSON
{
  "hex": "#124052",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 196.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.05766,
    "h": 228.1
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#124052
secondary
#8B4D35
accent
#7041E7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #124052

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

Preview Lab → · Contrast checker → · Palette generator →

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