#004BFB#004BFB

#004BFB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.265 H 263.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#004BFB
RGBrgb(0, 75, 251)
HSLhsl(222, 100%, 49%)
HSVhsv(222, 100%, 98%)
CMYKcmyk(100%, 70.1%, 0%, 1.6%)
CIE-LABlab(41.21, 50.43, -90.80)
CIE-LCHlch(41.21, 103.86, 299.05°)
OKLaboklab(51.3% -0.0312 -0.2636)
OKLCHoklch(51.3% 0.265 263.2)
XYZxyz(19.9225, 11.9944, 92.5132)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#004BFB #FBB000
analogous
#00C9FB #004BFB #3300FB
triadic
#004BFB #FB004B #4BFB00
tetradic
#004BFB #FB00C9 #FBB000 #00FB33
square
#004BFB #FB00C9 #FBB000 #00FB33
split-complementary
#004BFB #FB3300 #C9FB00
monochromatic
#002681 #0039BE #004BFB #3974FF #769FFF

Accessibility & contrast

On white

6.18
#004BFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#004BFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #004BFB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##004BFB#FFFFFF#000000##FFFFFF
##004BFB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0056F8
Tritanopia (blue-blind)
#007E9E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #004bfb;
/* rgb */ color: rgb(0, 75, 251);
/* oklch */ color: oklch(51.3% 0.265 263.2);
Tailwind
colors: {
  custom: {
    50: '#847dfe',
    500: '#004bfb',
    950: '#000000',
  },
}
SCSS
$custom: #004bfb;
$custom-light: #847dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#004bfb",
  "rgb": {
    "r": 0,
    "g": 75,
    "b": 251
  },
  "hsl": {
    "h": 222.072,
    "s": 100,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.2654,
    "h": 263.2
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#004BFB
secondary
#E6C371
accent
#BF29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #004BFB

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

Preview Lab → · Contrast checker → · Palette generator →

#004BFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva