#124864#124864

#124864 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.1% C 0.072 H 236.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#124864
RGBrgb(18, 72, 100)
HSLhsl(200, 69%, 23%)
HSVhsv(200, 82%, 39%)
CMYKcmyk(82%, 28%, 0%, 60.8%)
CIE-LABlab(28.60, -6.57, -21.32)
CIE-LCHlch(28.60, 22.31, 252.87°)
OKLaboklab(38.14% -0.0401 -0.0602)
OKLCHoklch(38.14% 0.072 236.3)
XYZxyz(4.8662, 5.6828, 12.8946)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124864 #642E12
analogous
#126457 #124864 #121F64
triadic
#124864 #641248 #486412
tetradic
#124864 #571264 #642E12 #1F6412
square
#124864 #571264 #642E12 #1F6412
split-complementary
#124864 #64121F #645712
monochromatic
#05131A #092330 #124864 #1B6D98 #2593CC

Accessibility & contrast

On white

9.83
#124864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124864
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124864#FFFFFF#000000##FFFFFF
##1248641.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4865
Deuteranopia (green-blind)
#2F4064
Tritanopia (blue-blind)
#004F52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124864;
/* rgb */ color: rgb(18, 72, 100);
/* oklch */ color: oklch(38.1% 0.072 236.3);
Tailwind
colors: {
  custom: {
    50: '#5e7a90',
    500: '#124864',
    950: '#000000',
  },
}
SCSS
$custom: #124864;
$custom-light: #5e7a90;
$custom-dark: #000000;
JSON
{
  "hex": "#124864",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 100
  },
  "hsl": {
    "h": 200.488,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.07232,
    "h": 236.3
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#124864
secondary
#9C5936
accent
#783BEC
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124864

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

Preview Lab → · Contrast checker → · Palette generator →

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