#2F22BD#2F22BD

#2F22BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.224 H 273.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F22BD
RGBrgb(47, 34, 189)
HSLhsl(245, 70%, 44%)
HSVhsv(245, 82%, 74%)
CMYKcmyk(75.1%, 82%, 0%, 25.9%)
CIE-LABlab(27.90, 53.88, -77.16)
CIE-LCHlch(27.90, 94.11, 304.93°)
OKLaboklab(40.24% 0.0135 -0.2232)
OKLCHoklch(40.24% 0.224 273.5)
XYZxyz(10.9266, 5.4214, 48.6048)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F22BD #B0BD22
analogous
#2262BD #2F22BD #7C22BD
triadic
#2F22BD #BD2F22 #22BD2F
tetradic
#2F22BD #BD2262 #B0BD22 #22BD7C
square
#2F22BD #BD2262 #B0BD22 #22BD7C
split-complementary
#2F22BD #BD7C22 #62BD22
monochromatic
#150F55 #221989 #2F22BD #4D40DD #7D73E6

Accessibility & contrast

On white

10.07
#2F22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F22BD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F22BD#FFFFFF#000000##FFFFFF
##2F22BD1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f22bd;
/* rgb */ color: rgb(47, 34, 189);
/* oklch */ color: oklch(40.2% 0.224 273.5);
Tailwind
colors: {
  custom: {
    50: '#8062d2',
    500: '#2f22bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f22bd;
$custom-light: #8062d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f22bd",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 245.032,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.22358,
    "h": 273.5
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#2F22BD
secondary
#C5CD6E
accent
#EC3BDD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2F22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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