#0451FF#0451FF

#0451FF is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.264 H 263.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#0451FF
RGBrgb(4, 81, 255)
HSLhsl(222, 100%, 51%)
HSVhsv(222, 98%, 100%)
CMYKcmyk(98.4%, 68.2%, 0%, 0%)
CIE-LABlab(42.96, 48.33, -90.14)
CIE-LCHlch(42.96, 102.28, 298.20°)
OKLaboklab(52.7% -0.0315 -0.2616)
OKLCHoklch(52.7% 0.264 263.1)
XYZxyz(21.0361, 13.1278, 96.0135)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0451FF #FFB204
analogous
#04CEFF #0451FF #3504FF
triadic
#0451FF #FF0451 #51FF04
tetradic
#0451FF #FF04CE #FFB204 #04FF35
square
#0451FF #FF04CE #FFB204 #04FF35
split-complementary
#0451FF #FF3504 #CEFF04
monochromatic
#002A89 #003DC6 #0451FF #417BFF #7EA6FF

Accessibility & contrast

On white

5.79
#0451FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#0451FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0451FF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0451FF#FFFFFF#000000##FFFFFF
##0451FF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#005AFC
Tritanopia (blue-blind)
#0082A2
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #0451ff;
/* rgb */ color: rgb(4, 81, 255);
/* oklch */ color: oklch(52.7% 0.264 263.1);
Tailwind
colors: {
  custom: {
    50: '#8582ff',
    500: '#0451ff',
    950: '#000000',
  },
}
SCSS
$custom: #0451ff;
$custom-light: #8582ff;
$custom-dark: #000000;
JSON
{
  "hex": "#0451ff",
  "rgb": {
    "r": 4,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 221.594,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.26353,
    "h": 263.1
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#0451FF
secondary
#E7C578
accent
#BD29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #0451FF

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

Preview Lab → · Contrast checker → · Palette generator →

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