#124266#124266

#124266 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.7% C 0.080 H 245.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#124266
RGBrgb(18, 66, 102)
HSLhsl(206, 70%, 24%)
HSVhsv(206, 82%, 40%)
CMYKcmyk(82.4%, 35.3%, 0%, 60%)
CIE-LABlab(26.69, -1.86, -25.60)
CIE-LCHlch(26.69, 25.67, 265.85°)
OKLaboklab(36.66% -0.0331 -0.0727)
OKLCHoklch(36.66% 0.08 245.5)
XYZxyz(4.5950, 4.9838, 13.2876)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124266 #663612
analogous
#126660 #124266 #121866
triadic
#124266 #661242 #426612
tetradic
#124266 #601266 #663612 #186612
square
#124266 #601266 #663612 #186612
split-complementary
#124266 #661218 #666012
monochromatic
#05111A #092032 #124266 #1B649A #2485CE

Accessibility & contrast

On white

10.52
#124266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#124266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124266
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124266#FFFFFF#000000##FFFFFF
##1242661.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#253C65
Tritanopia (blue-blind)
#004B4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124266;
/* rgb */ color: rgb(18, 66, 102);
/* oklch */ color: oklch(36.7% 0.080 245.5);
Tailwind
colors: {
  custom: {
    50: '#5e7692',
    500: '#124266',
    950: '#000000',
  },
}
SCSS
$custom: #124266;
$custom-light: #5e7692;
$custom-dark: #000000;
JSON
{
  "hex": "#124266",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 102
  },
  "hsl": {
    "h": 205.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36663,
    "c": 0.07991,
    "h": 245.5
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#124266
secondary
#9E6236
accent
#873BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080D
muted
#797B7D

Preview Lab

Preview with #124266

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

Preview Lab → · Contrast checker → · Palette generator →

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