#124A7F#124A7F

#124A7F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.105 H 251.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#124A7F
RGBrgb(18, 74, 127)
HSLhsl(209, 75%, 28%)
HSVhsv(209, 86%, 50%)
CMYKcmyk(85.8%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.78, 3.13, -34.90)
CIE-LCHlch(30.78, 35.04, 275.12°)
OKLaboklab(40.36% -0.0335 -0.0998)
OKLCHoklch(40.36% 0.105 251.4)
XYZxyz(6.5275, 6.5576, 20.9963)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A7F #7F4712
analogous
#127F7D #124A7F #12147F
triadic
#124A7F #7F124A #4A7F12
tetradic
#124A7F #7D127F #7F4712 #147F12
square
#124A7F #7D127F #7F4712 #147F12
split-complementary
#124A7F #7F1214 #7F7D12
monochromatic
#04101B #0A2B49 #124A7F #1A69B5 #2B88E1

Accessibility & contrast

On white

9.08
#124A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#124A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A7F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A7F#FFFFFF#000000##FFFFFF
##124A7F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124a7f;
/* rgb */ color: rgb(18, 74, 127);
/* oklch */ color: oklch(40.4% 0.105 251.4);
Tailwind
colors: {
  custom: {
    50: '#647ca4',
    500: '#124a7f',
    950: '#000000',
  },
}
SCSS
$custom: #124a7f;
$custom-light: #647ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#124a7f",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 209.174,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.10529,
    "h": 251.4
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#124A7F
secondary
#B57538
accent
#9136F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #124A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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