#0100FF#0100FF

#0100FF is a mid, highly saturated blue. Relative luminance 0.072; OKLCH L 45.2% C 0.313 H 264.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#0100FF
RGBrgb(1, 0, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(99.6%, 100%, 0%, 0%)
CIE-LABlab(32.31, 79.19, -107.84)
CIE-LCHlch(32.31, 133.79, 306.29°)
OKLaboklab(45.22% -0.0321 -0.3115)
OKLCHoklch(45.22% 0.313 264.1)
XYZxyz(18.0563, 7.2240, 95.0310)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0100FF #FEFF00
analogous
#007FFF #0100FF #8000FF
triadic
#0100FF #FF0100 #00FF01
tetradic
#0100FF #FF007F #FEFF00 #00FF80
square
#0100FF #FF007F #FEFF00 #00FF80
split-complementary
#0100FF #FF8000 #7FFF00
monochromatic
#010085 #0100C2 #0100FF #3E3DFF #7B7AFF

Accessibility & contrast

On white

8.59
#0100FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0100FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0100FF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0100FF#FFFFFF#000000##FFFFFF
##0100FF1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059FF
Deuteranopia (green-blind)
#003EFB
Tritanopia (blue-blind)
#006B96
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0100ff;
/* rgb */ color: rgb(1, 0, 255);
/* oklch */ color: oklch(45.2% 0.313 264.1);
Tailwind
colors: {
  custom: {
    50: '#8a5dff',
    500: '#0100ff',
    950: '#000000',
  },
}
SCSS
$custom: #0100ff;
$custom-light: #8a5dff;
$custom-dark: #000000;
JSON
{
  "hex": "#0100ff",
  "rgb": {
    "r": 1,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 240.235,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.31311,
    "h": 264.1
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#0100FF
secondary
#E6E774
accent
#FF29FE
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0518
muted
#7F7986

Preview Lab

Preview with #0100FF

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

Preview Lab → · Contrast checker → · Palette generator →

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