#124865#124865

#124865 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.2% C 0.073 H 237.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#124865
RGBrgb(18, 72, 101)
HSLhsl(201, 70%, 23%)
HSVhsv(201, 82%, 40%)
CMYKcmyk(82.2%, 28.7%, 0%, 60.4%)
CIE-LABlab(28.65, -6.17, -21.88)
CIE-LCHlch(28.65, 22.74, 254.24°)
OKLaboklab(38.2% -0.0397 -0.0618)
OKLCHoklch(38.2% 0.073 237.3)
XYZxyz(4.9148, 5.7023, 13.1510)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124865 #652F12
analogous
#126558 #124865 #121E65
triadic
#124865 #651248 #486512
tetradic
#124865 #581265 #652F12 #1E6512
square
#124865 #581265 #652F12 #1E6512
split-complementary
#124865 #65121E #655812
monochromatic
#05131A #092331 #124865 #1B6D99 #2592CD

Accessibility & contrast

On white

9.81
#124865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124865
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124865#FFFFFF#000000##FFFFFF
##1248651.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4866
Deuteranopia (green-blind)
#2F4065
Tritanopia (blue-blind)
#004F52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124865;
/* rgb */ color: rgb(18, 72, 101);
/* oklch */ color: oklch(38.2% 0.073 237.3);
Tailwind
colors: {
  custom: {
    50: '#5e7a91',
    500: '#124865',
    950: '#000000',
  },
}
SCSS
$custom: #124865;
$custom-light: #5e7a91;
$custom-dark: #000000;
JSON
{
  "hex": "#124865",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 200.964,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.07348,
    "h": 237.3
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#124865
secondary
#9D5A36
accent
#793BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124865

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

Preview Lab → · Contrast checker → · Palette generator →

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