#022FC0#022FC0

#022FC0 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.7% C 0.225 H 264.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#022FC0
RGBrgb(2, 47, 192)
HSLhsl(226, 98%, 38%)
HSVhsv(226, 99%, 75%)
CMYKcmyk(99%, 75.5%, 0%, 24.7%)
CIE-LABlab(29.03, 46.21, -77.10)
CIE-LCHlch(29.03, 89.89, 300.94°)
OKLaboklab(40.7% -0.0237 -0.2237)
OKLCHoklch(40.7% 0.225 264)
XYZxyz(10.5526, 5.8503, 50.4320)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022FC0 #C09302
analogous
#028EC0 #022FC0 #3402C0
triadic
#022FC0 #C0022F #2FC002
tetradic
#022FC0 #C0028E #C09302 #02C034
square
#022FC0 #C0028E #C09302 #02C034
split-complementary
#022FC0 #C03402 #8EC002
monochromatic
#011147 #012083 #022FC0 #033EFC #3F6CFD

Accessibility & contrast

On white

9.68
#022FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#022FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022FC0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022FC0#FFFFFF#000000##FFFFFF
##022FC01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #022fc0;
/* rgb */ color: rgb(2, 47, 192);
/* oklch */ color: oklch(40.7% 0.225 264.0);
Tailwind
colors: {
  custom: {
    50: '#7769d4',
    500: '#022fc0',
    950: '#000000',
  },
}
SCSS
$custom: #022fc0;
$custom-light: #7769d4;
$custom-dark: #000000;
JSON
{
  "hex": "#022fc0",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 225.789,
    "s": 97.938,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.225,
    "h": 264
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#022FC0
secondary
#DCB742
accent
#CC29FF
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #022FC0

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

Preview Lab → · Contrast checker → · Palette generator →

#022FC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva