#124B5F#124B5F

#124B5F is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.7% C 0.066 H 226.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#124B5F
RGBrgb(18, 75, 95)
HSLhsl(196, 68%, 22%)
HSVhsv(196, 81%, 37%)
CMYKcmyk(81.1%, 21.1%, 0%, 62.7%)
CIE-LABlab(29.38, -10.39, -16.91)
CIE-LCHlch(29.38, 19.85, 238.43°)
OKLaboklab(38.68% -0.0454 -0.0474)
OKLCHoklch(38.68% 0.066 226.3)
XYZxyz(4.8302, 5.9864, 11.7252)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B5F #5F2612
analogous
#125F4D #124B5F #12255F
triadic
#124B5F #5F124B #4B5F12
tetradic
#124B5F #4D125F #5F2612 #255F12
square
#124B5F #4D125F #5F2612 #255F12
split-complementary
#124B5F #5F1225 #5F4D12
monochromatic
#05141A #08222C #124B5F #1C7492 #259CC6

Accessibility & contrast

On white

9.56
#124B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B5F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B5F#FFFFFF#000000##FFFFFF
##124B5F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124b5f;
/* rgb */ color: rgb(18, 75, 95);
/* oklch */ color: oklch(38.7% 0.066 226.3);
Tailwind
colors: {
  custom: {
    50: '#5d7d8c',
    500: '#124b5f',
    950: '#000000',
  },
}
SCSS
$custom: #124b5f;
$custom-light: #5d7d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#124b5f",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 95
  },
  "hsl": {
    "h": 195.584,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.38683,
    "c": 0.06565,
    "h": 226.3
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#124B5F
secondary
#974F36
accent
#6A3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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