#124256#124256

#124256 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.061 H 230.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#124256
RGBrgb(18, 66, 86)
HSLhsl(198, 65%, 20%)
HSVhsv(198, 79%, 34%)
CMYKcmyk(79.1%, 23.3%, 0%, 66.3%)
CIE-LABlab(25.85, -8.28, -16.56)
CIE-LCHlch(25.85, 18.52, 243.42°)
OKLaboklab(35.72% -0.0391 -0.0465)
OKLCHoklch(35.72% 0.061 230)
XYZxyz(3.8767, 4.6965, 9.5045)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124256 #562612
analogous
#125648 #124256 #122056
triadic
#124256 #561242 #425612
tetradic
#124256 #481256 #562612 #205612
square
#124256 #481256 #562612 #205612
split-complementary
#124256 #561220 #564812
monochromatic
#051319 #071B23 #124256 #1D6989 #2790BB

Accessibility & contrast

On white

10.83
#124256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#124256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124256
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124256#FFFFFF#000000##FFFFFF
##1242561.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384157
Deuteranopia (green-blind)
#2F3A56
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124256;
/* rgb */ color: rgb(18, 66, 86);
/* oklch */ color: oklch(35.7% 0.061 230.0);
Tailwind
colors: {
  custom: {
    50: '#5b7685',
    500: '#124256',
    950: '#000000',
  },
}
SCSS
$custom: #124256;
$custom-light: #5b7685;
$custom-dark: #000000;
JSON
{
  "hex": "#124256",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 197.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.06073,
    "h": 230
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#124256
secondary
#8F4F35
accent
#713FE8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124256

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

Preview Lab → · Contrast checker → · Palette generator →

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