#124F9F#124F9F

#124F9F is a dark, vivid cyan. Relative luminance 0.082; OKLCH L 43.9% C 0.143 H 257.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#124F9F
RGBrgb(18, 79, 159)
HSLhsl(214, 80%, 35%)
HSVhsv(214, 89%, 62%)
CMYKcmyk(88.7%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.44, 12.99, -48.57)
CIE-LCHlch(34.44, 50.28, 284.97°)
OKLaboklab(43.88% -0.0309 -0.1399)
OKLCHoklch(43.88% 0.143 257.5)
XYZxyz(9.3011, 8.2226, 33.8911)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F9F #9F6212
analogous
#12959F #124F9F #1C129F
triadic
#124F9F #9F124F #4F9F12
tetradic
#124F9F #9F1295 #9F6212 #129F1C
square
#124F9F #9F1295 #9F6212 #129F1C
split-complementary
#124F9F #9F1C12 #959F12
monochromatic
#061831 #0C3468 #124F9F #186AD6 #428AEA

Accessibility & contrast

On white

7.94
#124F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#124F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F9F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F9F#FFFFFF#000000##FFFFFF
##124F9F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #124f9f;
/* rgb */ color: rgb(18, 79, 159);
/* oklch */ color: oklch(43.9% 0.143 257.5);
Tailwind
colors: {
  custom: {
    50: '#6d7fbc',
    500: '#124f9f',
    950: '#000000',
  },
}
SCSS
$custom: #124f9f;
$custom-light: #6d7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#124f9f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 214.043,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.14331,
    "h": 257.5
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#124F9F
secondary
#CA8F43
accent
#A132F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #124F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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