#2F22B9#2F22B9

#2F22B9 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.219 H 273.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2F22B9
RGBrgb(47, 34, 185)
HSLhsl(245, 69%, 43%)
HSVhsv(245, 82%, 73%)
CMYKcmyk(74.6%, 81.6%, 0%, 27.5%)
CIE-LABlab(27.44, 52.68, -75.56)
CIE-LCHlch(27.44, 92.11, 304.88°)
OKLaboklab(39.78% 0.0145 -0.2185)
OKLCHoklch(39.78% 0.219 273.8)
XYZxyz(10.4984, 5.2501, 46.3496)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F22B9 #ACB922
analogous
#2260B9 #2F22B9 #7B22B9
triadic
#2F22B9 #B92F22 #22B92F
tetradic
#2F22B9 #B92260 #ACB922 #22B97B
square
#2F22B9 #B92260 #ACB922 #22B97B
split-complementary
#2F22B9 #B97B22 #60B922
monochromatic
#150F52 #221885 #2F22B9 #4B3DDB #7B71E5

Accessibility & contrast

On white

10.24
#2F22B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F22B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F22B9
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F22B9#FFFFFF#000000##FFFFFF
##2F22B91.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BD
Deuteranopia (green-blind)
#003AB6
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f22b9;
/* rgb */ color: rgb(47, 34, 185);
/* oklch */ color: oklch(39.8% 0.219 273.8);
Tailwind
colors: {
  custom: {
    50: '#7f62d0',
    500: '#2f22b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f22b9;
$custom-light: #7f62d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f22b9",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 185
  },
  "hsl": {
    "h": 245.166,
    "s": 68.95,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.21902,
    "h": 273.8
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#2F22B9
secondary
#C3CB6B
accent
#EC3CDD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2F22B9

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

Preview Lab → · Contrast checker → · Palette generator →

#2F22B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva