#1808FF#1808FF

#1808FF is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.9% C 0.308 H 266.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1808FF
RGBrgb(24, 8, 255)
HSLhsl(244, 100%, 52%)
HSVhsv(244, 97%, 100%)
CMYKcmyk(90.6%, 96.9%, 0%, 0%)
CIE-LABlab(33.10, 78.15, -106.50)
CIE-LCHlch(33.10, 132.10, 306.27°)
OKLaboklab(45.87% -0.0215 -0.3077)
OKLCHoklch(45.87% 0.308 266)
XYZxyz(18.5073, 7.5854, 95.0770)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1808FF #EFFF08
analogous
#0873FF #1808FF #9408FF
triadic
#1808FF #FF1808 #08FF18
tetradic
#1808FF #FF0873 #EFFF08 #08FF94
square
#1808FF #FF0873 #EFFF08 #08FF94
split-complementary
#1808FF #FF9408 #73FF08
monochromatic
#09008D #0D00CA #1808FF #5145FF #8A82FF

Accessibility & contrast

On white

8.34
#1808FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1808FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1808FF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1808FF#FFFFFF#000000##FFFFFF
##1808FF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AFF
Deuteranopia (green-blind)
#0040FB
Tritanopia (blue-blind)
#006C96
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1808ff;
/* rgb */ color: rgb(24, 8, 255);
/* oklch */ color: oklch(45.9% 0.308 266.0);
Tailwind
colors: {
  custom: {
    50: '#8c5fff',
    500: '#1808ff',
    950: '#000000',
  },
}
SCSS
$custom: #1808ff;
$custom-light: #8c5fff;
$custom-dark: #000000;
JSON
{
  "hex": "#1808ff",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 255
  },
  "hsl": {
    "h": 243.887,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.30842,
    "h": 266
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#1808FF
secondary
#E1E87B
accent
#FF29F1
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #1808FF

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

Preview Lab → · Contrast checker → · Palette generator →

#1808FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva