#2F22BB#2F22BB

#2F22BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.0% C 0.221 H 273.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2F22BB
RGBrgb(47, 34, 187)
HSLhsl(245, 69%, 43%)
HSVhsv(245, 82%, 73%)
CMYKcmyk(74.9%, 81.8%, 0%, 26.7%)
CIE-LABlab(27.67, 53.28, -76.36)
CIE-LCHlch(27.67, 93.11, 304.91°)
OKLaboklab(40.01% 0.014 -0.2209)
OKLCHoklch(40.01% 0.221 273.6)
XYZxyz(10.7110, 5.3351, 47.4694)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F22BB #AEBB22
analogous
#2261BB #2F22BB #7B22BB
triadic
#2F22BB #BB2F22 #22BB2F
tetradic
#2F22BB #BB2261 #AEBB22 #22BB7B
square
#2F22BB #BB2261 #AEBB22 #22BB7B
split-complementary
#2F22BB #BB7B22 #61BB22
monochromatic
#150F53 #221987 #2F22BB #4C3EDC #7C72E5

Accessibility & contrast

On white

10.16
#2F22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F22BB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F22BB#FFFFFF#000000##FFFFFF
##2F22BB1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f22bb;
/* rgb */ color: rgb(47, 34, 187);
/* oklch */ color: oklch(40.0% 0.221 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f62d1',
    500: '#2f22bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f22bb;
$custom-light: #7f62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f22bb",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 245.098,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.2213,
    "h": 273.6
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#2F22BB
secondary
#C4CC6D
accent
#EC3CDD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2F22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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