#124252#124252

#124252 is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.5% C 0.057 H 224.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#124252
RGBrgb(18, 66, 82)
HSLhsl(195, 64%, 20%)
HSVhsv(195, 78%, 32%)
CMYKcmyk(78%, 19.5%, 0%, 67.8%)
CIE-LABlab(25.66, -9.83, -14.24)
CIE-LCHlch(25.66, 17.30, 235.38°)
OKLaboklab(35.51% -0.0408 -0.0398)
OKLCHoklch(35.51% 0.057 224.3)
XYZxyz(3.7200, 4.6338, 8.6794)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124252 #522212
analogous
#125242 #124252 #122252
triadic
#124252 #521242 #425212
tetradic
#124252 #421252 #522212 #225212
square
#124252 #421252 #522212 #225212
split-complementary
#124252 #521222 #524212
monochromatic
#061419 #071A20 #124252 #1D6A84 #2893B6

Accessibility & contrast

On white

10.90
#124252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#124252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124252
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124252#FFFFFF#000000##FFFFFF
##1242521.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#303A52
Tritanopia (blue-blind)
#004747
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124252;
/* rgb */ color: rgb(18, 66, 82);
/* oklch */ color: oklch(35.5% 0.057 224.3);
Tailwind
colors: {
  custom: {
    50: '#5a7682',
    500: '#124252',
    950: '#000000',
  },
}
SCSS
$custom: #124252;
$custom-light: #5a7682;
$custom-dark: #000000;
JSON
{
  "hex": "#124252",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 195,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.05703,
    "h": 224.3
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#124252
secondary
#8B4A35
accent
#6A41E7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #124252

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

Preview Lab → · Contrast checker → · Palette generator →

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