Blue#0000FF

#0000FF 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).

Blue — editorial page

Color values

HEX#0000FF
RGBrgb(0, 0, 255)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
CIE-LABlab(32.30, 79.19, -107.86)
CIE-LCHlch(32.30, 133.81, 306.29°)
OKLaboklab(45.2% -0.0325 -0.3115)
OKLCHoklch(45.2% 0.313 264.1)
XYZxyz(18.0438, 7.2175, 95.0304)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0000FF #FFFF00
analogous
#007FFF #0000FF #7F00FF
triadic
#0000FF #FF0000 #00FF00
tetradic
#0000FF #FF0080 #FFFF00 #00FF80
square
#0000FF #FF0080 #FFFF00 #00FF80
split-complementary
#0000FF #FF8000 #80FF00
monochromatic
#000085 #0000C2 #0000FF #3D3DFF #7A7AFF

Accessibility & contrast

On white

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

On black

2.44
#0000FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0000FF#FFFFFF#000000##FFFFFF
##0000FF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Related colors

#1807E2
#200DC7
#240FAB
#251191
#241178
#22115F
#1E1047
#180D31
#12071C
#000000
#502BFF
#7145FF
#8A5DFF
#A074FF
#B38BFF
#C4A2FF
#D4B9FF
#E3D0FF
#F2E7FF
#FFFFFF
#2F15EC
#4021D9
#4A2AC7
#5031B4

Palettes with this color

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#0000FF
secondary
#E7E774
accent
#FF29FF
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0518
muted
#7F7986

Preview Lab

Preview with #0000FF

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

Preview Lab → · Contrast checker → · Palette generator →

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