#124E5F#124E5F

#124E5F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 39.5% C 0.065 H 221.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#124E5F
RGBrgb(18, 78, 95)
HSLhsl(193, 68%, 22%)
HSVhsv(193, 81%, 37%)
CMYKcmyk(81.1%, 17.9%, 0%, 62.7%)
CIE-LABlab(30.41, -12.20, -15.33)
CIE-LCHlch(30.41, 19.59, 231.47°)
OKLaboklab(39.51% -0.0487 -0.0429)
OKLCHoklch(39.51% 0.065 221.4)
XYZxyz(5.0385, 6.4030, 11.7946)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E5F #5F2312
analogous
#125F4A #124E5F #12275F
triadic
#124E5F #5F124E #4E5F12
tetradic
#124E5F #4A125F #5F2312 #275F12
square
#124E5F #4A125F #5F2312 #275F12
split-complementary
#124E5F #5F1227 #5F4A12
monochromatic
#05151A #08242C #124E5F #1C7892 #25A2C6

Accessibility & contrast

On white

9.21
#124E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#124E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E5F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E5F#FFFFFF#000000##FFFFFF
##124E5F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#3A445F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124e5f;
/* rgb */ color: rgb(18, 78, 95);
/* oklch */ color: oklch(39.5% 0.065 221.4);
Tailwind
colors: {
  custom: {
    50: '#5e7f8c',
    500: '#124e5f',
    950: '#000000',
  },
}
SCSS
$custom: #124e5f;
$custom-light: #5e7f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#124e5f",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 193.247,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.06489,
    "h": 221.4
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#124E5F
secondary
#974B36
accent
#633DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#124E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva