Rich Blue#021BF9

#021BF9 is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.6% C 0.299 H 264.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Rich Blue — editorial page

Color values

HEX#021BF9
RGBrgb(2, 27, 249)
HSLhsl(234, 98%, 49%)
HSVhsv(234, 99%, 98%)
CMYKcmyk(99.2%, 89.2%, 0%, 2.4%)
CIE-LABlab(33.21, 72.40, -102.96)
CIE-LCHlch(33.21, 125.87, 305.11°)
OKLaboklab(45.6% -0.0296 -0.2979)
OKLCHoklch(45.6% 0.299 264.3)
XYZxyz(17.5099, 7.6339, 90.1547)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021BF9 #F9E002
analogous
#0297F9 #021BF9 #6502F9
triadic
#021BF9 #F9021B #1BF902
tetradic
#021BF9 #F90297 #F9E002 #02F965
square
#021BF9 #F90297 #F9E002 #02F965
split-complementary
#021BF9 #F96502 #97F902
monochromatic
#010E80 #0214BC #021BF9 #3B4EFD #7785FE

Accessibility & contrast

On white

8.31
#021BF9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#021BF9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021BF9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021BF9#FFFFFF#000000##FFFFFF
##021BF91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AFF
Deuteranopia (green-blind)
#0041F6
Tritanopia (blue-blind)
#006C94
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #021bf9;
/* rgb */ color: rgb(2, 27, 249);
/* oklch */ color: oklch(45.6% 0.299 264.3);
Tailwind
colors: {
  custom: {
    50: '#8863fd',
    500: '#021bf9',
    950: '#000000',
  },
}
SCSS
$custom: #021bf9;
$custom-light: #8863fd;
$custom-dark: #000000;
JSON
{
  "hex": "#021bf9",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 249
  },
  "hsl": {
    "h": 233.927,
    "s": 98.406,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.29937,
    "h": 264.3
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#021BF9
secondary
#E5D972
accent
#E929FF
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0F0618
muted
#7E7A86

Preview Lab

Preview with #021BF9

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

Preview Lab → · Contrast checker → · Palette generator →

#021BF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva