#2F209E#2F209E

#2F209E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.189 H 276.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2F209E
RGBrgb(47, 32, 158)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 80%, 62%)
CMYKcmyk(70.3%, 79.7%, 0%, 38%)
CIE-LABlab(24.02, 45.34, -64.97)
CIE-LCHlch(24.02, 79.22, 304.91°)
OKLaboklab(36.5% 0.0225 -0.1878)
OKLCHoklch(36.5% 0.189 276.8)
XYZxyz(7.8583, 4.1053, 32.7194)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F209E #8F9E20
analogous
#20509E #2F209E #6E209E
triadic
#2F209E #9E2F20 #209E2F
tetradic
#2F209E #9E2050 #8F9E20 #209E6E
square
#2F209E #9E2050 #8F9E20 #209E6E
split-complementary
#2F209E #9E6E20 #509E20
monochromatic
#110B38 #20166B #2F209E #3E2AD1 #6A5BDE

Accessibility & contrast

On white

11.53
#2F209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F209E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F209E#FFFFFF#000000##FFFFFF
##2F209E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f209e;
/* rgb */ color: rgb(47, 32, 158);
/* oklch */ color: oklch(36.5% 0.189 276.8);
Tailwind
colors: {
  custom: {
    50: '#795fbc',
    500: '#2f209e',
    950: '#000000',
  },
}
SCSS
$custom: #2f209e;
$custom-light: #795fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f209e",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 247.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.1891,
    "h": 276.8
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2F209E
secondary
#B5C258
accent
#E93FD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F209E

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

Preview Lab → · Contrast checker → · Palette generator →

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