#0001FF#0001FF

#0001FF 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.58:1 contrast (WCAG AA passes).

Color values

HEX#0001FF
RGBrgb(0, 1, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 99.6%, 0%, 0%)
CIE-LABlab(32.35, 79.04, -107.78)
CIE-LCHlch(32.35, 133.65, 306.25°)
OKLaboklab(45.23% -0.0324 -0.3113)
OKLCHoklch(45.23% 0.313 264.1)
XYZxyz(18.0546, 7.2392, 95.0340)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0001FF #FFFE00
analogous
#0080FF #0001FF #7F00FF
triadic
#0001FF #FF0001 #01FF00
tetradic
#0001FF #FF0080 #FFFE00 #00FF7F
square
#0001FF #FF0080 #FFFE00 #00FF7F
split-complementary
#0001FF #FF7F00 #80FF00
monochromatic
#000185 #0001C2 #0001FF #3D3EFF #7A7BFF

Accessibility & contrast

On white

8.58
#0001FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0001FF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0001FF#FFFFFF#000000##FFFFFF
##0001FF1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.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: #0001ff;
/* rgb */ color: rgb(0, 1, 255);
/* oklch */ color: oklch(45.2% 0.313 264.1);
Tailwind
colors: {
  custom: {
    50: '#8a5dff',
    500: '#0001ff',
    950: '#000000',
  },
}
SCSS
$custom: #0001ff;
$custom-light: #8a5dff;
$custom-dark: #000000;
JSON
{
  "hex": "#0001ff",
  "rgb": {
    "r": 0,
    "g": 1,
    "b": 255
  },
  "hsl": {
    "h": 239.765,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.31299,
    "h": 264.1
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#0001FF
secondary
#E7E674
accent
#FE29FF
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0518
muted
#7F7986

Preview Lab

Preview with #0001FF

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

Preview Lab → · Contrast checker → · Palette generator →

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