#124A8F#124A8F

#124A8F is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.5% C 0.127 H 256.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#124A8F
RGBrgb(18, 74, 143)
HSLhsl(213, 78%, 32%)
HSVhsv(213, 87%, 56%)
CMYKcmyk(87.4%, 48.3%, 0%, 43.9%)
CIE-LABlab(31.83, 9.77, -43.08)
CIE-LCHlch(31.83, 44.18, 282.78°)
OKLaboklab(41.51% -0.03 -0.1239)
OKLCHoklch(41.51% 0.127 256.4)
XYZxyz(7.6543, 7.0084, 26.9306)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A8F #8F5712
analogous
#12898F #124A8F #19128F
triadic
#124A8F #8F124A #4A8F12
tetradic
#124A8F #8F1289 #8F5712 #128F19
square
#124A8F #8F1289 #8F5712 #128F19
split-complementary
#124A8F #8F1912 #898F12
monochromatic
#041222 #0B2E59 #124A8F #1966C5 #3685E6

Accessibility & contrast

On white

8.74
#124A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#124A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A8F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A8F#FFFFFF#000000##FFFFFF
##124A8F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124a8f;
/* rgb */ color: rgb(18, 74, 143);
/* oklch */ color: oklch(41.5% 0.127 256.4);
Tailwind
colors: {
  custom: {
    50: '#697bb0',
    500: '#124a8f',
    950: '#000000',
  },
}
SCSS
$custom: #124a8f;
$custom-light: #697bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#124a8f",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 213.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.12747,
    "h": 256.4
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#124A8F
secondary
#C3863A
accent
#9E34F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #124A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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