#124CFF#124CFF

#124CFF is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.267 H 264.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#124CFF
RGBrgb(18, 76, 255)
HSLhsl(225, 100%, 54%)
HSVhsv(225, 93%, 100%)
CMYKcmyk(92.9%, 70.2%, 0%, 0%)
CIE-LABlab(42.02, 51.58, -91.68)
CIE-LCHlch(42.02, 105.19, 299.37°)
OKLaboklab(52.06% -0.0269 -0.266)
OKLCHoklch(52.06% 0.267 264.2)
XYZxyz(20.8775, 12.5147, 95.9035)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124CFF #FFC512
analogous
#12C3FF #124CFF #4E12FF
triadic
#124CFF #FF124C #4CFF12
tetradic
#124CFF #FF12C3 #FFC512 #12FF4E
square
#124CFF #FF12C3 #FFC512 #12FF4E
split-complementary
#124CFF #FF4E12 #C3FF12
monochromatic
#002597 #0034D4 #124CFF #4F7AFF #8CA8FF

Accessibility & contrast

On white

5.99
#124CFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#124CFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #124CFF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124CFF#FFFFFF#000000##FFFFFF
##124CFF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#0058FC
Tritanopia (blue-blind)
#0080A0
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #124cff;
/* rgb */ color: rgb(18, 76, 255);
/* oklch */ color: oklch(52.1% 0.267 264.2);
Tailwind
colors: {
  custom: {
    50: '#877eff',
    500: '#124cff',
    950: '#000000',
  },
}
SCSS
$custom: #124cff;
$custom-light: #877eff;
$custom-dark: #000000;
JSON
{
  "hex": "#124cff",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 225.316,
    "s": 100,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.26738,
    "h": 264.2
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#124CFF
secondary
#E9D084
accent
#CB29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #124CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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