#124A5D#124A5D

#124A5D is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.3% C 0.064 H 225.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#124A5D
RGBrgb(18, 74, 93)
HSLhsl(195, 68%, 22%)
HSVhsv(195, 81%, 36%)
CMYKcmyk(80.6%, 20.4%, 0%, 63.5%)
CIE-LABlab(28.94, -10.55, -16.30)
CIE-LCHlch(28.94, 19.42, 237.10°)
OKLaboklab(38.3% -0.0451 -0.0457)
OKLCHoklch(38.3% 0.064 225.4)
XYZxyz(4.6732, 5.8159, 11.2301)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A5D #5D2512
analogous
#125D4B #124A5D #12255D
triadic
#124A5D #5D124A #4A5D12
tetradic
#124A5D #4B125D #5D2512 #255D12
square
#124A5D #4B125D #5D2512 #255D12
split-complementary
#124A5D #5D1225 #5D4B12
monochromatic
#05141A #08212A #124A5D #1C7390 #269CC4

Accessibility & contrast

On white

9.71
#124A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A5D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A5D#FFFFFF#000000##FFFFFF
##124A5D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485E
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#005050
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124a5d;
/* rgb */ color: rgb(18, 74, 93);
/* oklch */ color: oklch(38.3% 0.064 225.4);
Tailwind
colors: {
  custom: {
    50: '#5d7c8b',
    500: '#124a5d',
    950: '#000000',
  },
}
SCSS
$custom: #124a5d;
$custom-light: #5d7c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124a5d",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 93
  },
  "hsl": {
    "h": 195.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.06423,
    "h": 225.4
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#124A5D
secondary
#954E35
accent
#693DEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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