#124C9F#124C9F

#124C9F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.147 H 258.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#124C9F
RGBrgb(18, 76, 159)
HSLhsl(215, 80%, 35%)
HSVhsv(215, 89%, 62%)
CMYKcmyk(88.7%, 52.2%, 0%, 37.6%)
CIE-LABlab(33.56, 15.02, -50.00)
CIE-LCHlch(33.56, 52.20, 286.72°)
OKLaboklab(43.21% -0.0289 -0.1442)
OKLCHoklch(43.21% 0.147 258.7)
XYZxyz(9.0896, 7.7995, 33.8205)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C9F #9F6512
analogous
#12939F #124C9F #1E129F
triadic
#124C9F #9F124C #4C9F12
tetradic
#124C9F #9F1293 #9F6512 #129F1E
square
#124C9F #9F1293 #9F6512 #129F1E
split-complementary
#124C9F #9F1E12 #939F12
monochromatic
#061731 #0C3268 #124C9F #1866D6 #4287EA

Accessibility & contrast

On white

8.20
#124C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#124C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C9F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C9F#FFFFFF#000000##FFFFFF
##124C9F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #124c9f;
/* rgb */ color: rgb(18, 76, 159);
/* oklch */ color: oklch(43.2% 0.147 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7dbc',
    500: '#124c9f',
    950: '#000000',
  },
}
SCSS
$custom: #124c9f;
$custom-light: #6d7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#124c9f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 215.319,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.14704,
    "h": 258.7
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#124C9F
secondary
#CA9243
accent
#A532F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #124C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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