#124867#124867

#124867 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.076 H 239.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#124867
RGBrgb(18, 72, 103)
HSLhsl(202, 70%, 24%)
HSVhsv(202, 83%, 40%)
CMYKcmyk(82.5%, 30.1%, 0%, 59.6%)
CIE-LABlab(28.75, -5.37, -23.00)
CIE-LCHlch(28.75, 23.62, 256.84°)
OKLaboklab(38.31% -0.039 -0.065)
OKLCHoklch(38.31% 0.076 239.1)
XYZxyz(5.0140, 5.7420, 13.6734)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124867 #673112
analogous
#12675B #124867 #121D67
triadic
#124867 #671248 #486712
tetradic
#124867 #5B1267 #673112 #1D6712
square
#124867 #5B1267 #673112 #1D6712
split-complementary
#124867 #67121D #675B12
monochromatic
#05121A #092433 #124867 #1B6C9B #2491CF

Accessibility & contrast

On white

9.77
#124867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124867
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124867#FFFFFF#000000##FFFFFF
##1248671.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#2E4066
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124867;
/* rgb */ color: rgb(18, 72, 103);
/* oklch */ color: oklch(38.3% 0.076 239.1);
Tailwind
colors: {
  custom: {
    50: '#5f7a92',
    500: '#124867',
    950: '#000000',
  },
}
SCSS
$custom: #124867;
$custom-light: #5f7a92;
$custom-dark: #000000;
JSON
{
  "hex": "#124867",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 103
  },
  "hsl": {
    "h": 201.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.07583,
    "h": 239.1
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#124867
secondary
#9F5C36
accent
#7C3BED
background
#F5F7F9
surface
#EAEDF1
border
#C6C8CB
text
#05090D
muted
#797B7E

Preview Lab

Preview with #124867

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

Preview Lab → · Contrast checker → · Palette generator →

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