#2F20A9#2F20A9

#2F20A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.202 H 275.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2F20A9
RGBrgb(47, 32, 169)
HSLhsl(247, 68%, 39%)
HSVhsv(247, 81%, 66%)
CMYKcmyk(72.2%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.26, 48.75, -69.58)
CIE-LCHlch(25.26, 84.96, 305.01°)
OKLaboklab(37.73% 0.0195 -0.2012)
OKLCHoklch(37.73% 0.202 275.5)
XYZxyz(8.8479, 4.5011, 37.9309)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F20A9 #9AA920
analogous
#2056A9 #2F20A9 #7320A9
triadic
#2F20A9 #A92F20 #20A92F
tetradic
#2F20A9 #A92056 #9AA920 #20A973
square
#2F20A9 #A92056 #9AA920 #20A973
split-complementary
#2F20A9 #A97320 #56A920
monochromatic
#120D42 #211676 #2F20A9 #412FD8 #7062E1

Accessibility & contrast

On white

11.05
#2F20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F20A9
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F20A9#FFFFFF#000000##FFFFFF
##2F20A91.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f20a9;
/* rgb */ color: rgb(47, 32, 169);
/* oklch */ color: oklch(37.7% 0.202 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b60c4',
    500: '#2f20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f20a9;
$custom-light: #7b60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f20a9",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 246.569,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.20211,
    "h": 275.5
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#2F20A9
secondary
#BBC65F
accent
#EB3DD8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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