#124962#124962

#124962 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.3% C 0.069 H 232.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#124962
RGBrgb(18, 73, 98)
HSLhsl(199, 69%, 23%)
HSVhsv(199, 82%, 38%)
CMYKcmyk(81.6%, 25.5%, 0%, 61.6%)
CIE-LABlab(28.84, -7.99, -19.67)
CIE-LCHlch(28.84, 21.23, 247.89°)
OKLaboklab(38.3% -0.0419 -0.0554)
OKLCHoklch(38.3% 0.069 232.9)
XYZxyz(4.8357, 5.7749, 12.4127)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124962 #622B12
analogous
#126253 #124962 #122162
triadic
#124962 #621249 #496212
tetradic
#124962 #531262 #622B12 #216212
square
#124962 #531262 #622B12 #216212
split-complementary
#124962 #621221 #625312
monochromatic
#05131A #09222E #124962 #1B7096 #2596C9

Accessibility & contrast

On white

9.74
#124962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124962
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124962#FFFFFF#000000##FFFFFF
##1249621.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4863
Deuteranopia (green-blind)
#324162
Tritanopia (blue-blind)
#005051
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124962;
/* rgb */ color: rgb(18, 73, 98);
/* oklch */ color: oklch(38.3% 0.069 232.9);
Tailwind
colors: {
  custom: {
    50: '#5e7b8e',
    500: '#124962',
    950: '#000000',
  },
}
SCSS
$custom: #124962;
$custom-light: #5e7b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124962",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 98
  },
  "hsl": {
    "h": 198.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.06949,
    "h": 232.9
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#124962
secondary
#9A5536
accent
#733CEC
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124962

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

Preview Lab → · Contrast checker → · Palette generator →

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