#2F22A9#2F22A9

#2F22A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.200 H 275.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2F22A9
RGBrgb(47, 34, 169)
HSLhsl(246, 67%, 40%)
HSVhsv(246, 80%, 66%)
CMYKcmyk(72.2%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.60, 47.77, -69.03)
CIE-LCHlch(25.60, 83.94, 304.69°)
OKLaboklab(37.97% 0.0187 -0.1996)
OKLCHoklch(37.97% 0.2 275.3)
XYZxyz(8.9034, 4.6121, 37.9494)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F22A9 #9CA922
analogous
#2258A9 #2F22A9 #7322A9
triadic
#2F22A9 #A92F22 #22A92F
tetradic
#2F22A9 #A92258 #9CA922 #22A973
square
#2F22A9 #A92258 #9CA922 #22A973
split-complementary
#2F22A9 #A97322 #58A922
monochromatic
#130D43 #211876 #2F22A9 #4232D6 #7165E0

Accessibility & contrast

On white

10.92
#2F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F22A9
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F22A9#FFFFFF#000000##FFFFFF
##2F22A91.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f22a9;
/* rgb */ color: rgb(47, 34, 169);
/* oklch */ color: oklch(38.0% 0.200 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b61c4',
    500: '#2f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f22a9;
$custom-light: #7b61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f22a9",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 245.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37967,
    "c": 0.20045,
    "h": 275.3
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#2F22A9
secondary
#BCC561
accent
#E93ED9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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