#2F20A0#2F20A0

#2F20A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.191 H 276.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2F20A0
RGBrgb(47, 32, 160)
HSLhsl(247, 67%, 38%)
HSVhsv(247, 80%, 63%)
CMYKcmyk(70.6%, 80%, 0%, 37.3%)
CIE-LABlab(24.24, 45.96, -65.82)
CIE-LCHlch(24.24, 80.28, 304.93°)
OKLaboklab(36.72% 0.0219 -0.1902)
OKLCHoklch(36.72% 0.191 276.6)
XYZxyz(8.0319, 4.1747, 33.6334)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F20A0 #91A020
analogous
#2051A0 #2F20A0 #6F20A0
triadic
#2F20A0 #A02F20 #20A02F
tetradic
#2F20A0 #A02051 #91A020 #20A06F
square
#2F20A0 #A02051 #91A020 #20A06F
split-complementary
#2F20A0 #A06F20 #51A020
monochromatic
#110C3A #20166D #2F20A0 #3E2AD3 #6B5CDE

Accessibility & contrast

On white

11.44
#2F20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F20A0
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F20A0#FFFFFF#000000##FFFFFF
##2F20A01.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f20a0;
/* rgb */ color: rgb(47, 32, 160);
/* oklch */ color: oklch(36.7% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#795fbd',
    500: '#2f20a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f20a0;
$custom-light: #795fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f20a0",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 247.031,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36723,
    "c": 0.19149,
    "h": 276.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2F20A0
secondary
#B6C359
accent
#EA3ED5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2F20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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