#124765#124765

#124765 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 37.9% C 0.074 H 238.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#124765
RGBrgb(18, 71, 101)
HSLhsl(202, 70%, 23%)
HSVhsv(202, 82%, 40%)
CMYKcmyk(82.2%, 29.7%, 0%, 60.4%)
CIE-LABlab(28.31, -5.53, -22.41)
CIE-LCHlch(28.31, 23.08, 256.13°)
OKLaboklab(37.93% -0.0387 -0.0634)
OKLCHoklch(37.93% 0.074 238.6)
XYZxyz(4.8507, 5.5741, 13.1296)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124765 #653012
analogous
#126559 #124765 #121D65
triadic
#124765 #651247 #476512
tetradic
#124765 #591265 #653012 #1D6512
square
#124765 #591265 #653012 #1D6512
split-complementary
#124765 #65121D #655912
monochromatic
#05121A #092231 #124765 #1B6C99 #2590CD

Accessibility & contrast

On white

9.93
#124765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124765
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124765#FFFFFF#000000##FFFFFF
##1247651.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#2E3F64
Tritanopia (blue-blind)
#004F51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124765;
/* rgb */ color: rgb(18, 71, 101);
/* oklch */ color: oklch(37.9% 0.074 238.6);
Tailwind
colors: {
  custom: {
    50: '#5e7a91',
    500: '#124765',
    950: '#000000',
  },
}
SCSS
$custom: #124765;
$custom-light: #5e7a91;
$custom-dark: #000000;
JSON
{
  "hex": "#124765",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 101
  },
  "hsl": {
    "h": 201.687,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.07423,
    "h": 238.6
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#124765
secondary
#9D5B36
accent
#7B3BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124765

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

Preview Lab → · Contrast checker → · Palette generator →

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