#2F209F#2F209F

#2F209F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.190 H 276.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2F209F
RGBrgb(47, 32, 159)
HSLhsl(247, 66%, 37%)
HSVhsv(247, 80%, 62%)
CMYKcmyk(70.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(24.13, 45.65, -65.39)
CIE-LCHlch(24.13, 79.75, 304.92°)
OKLaboklab(36.61% 0.0222 -0.189)
OKLCHoklch(36.61% 0.19 276.7)
XYZxyz(7.9448, 4.1398, 33.1745)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F209F #909F20
analogous
#20509F #2F209F #6F209F
triadic
#2F209F #9F2F20 #209F2F
tetradic
#2F209F #9F2050 #909F20 #209F6F
square
#2F209F #9F2050 #909F20 #209F6F
split-complementary
#2F209F #9F6F20 #509F20
monochromatic
#110B39 #20166C #2F209F #3E2AD2 #6B5BDE

Accessibility & contrast

On white

11.49
#2F209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F209F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F209F#FFFFFF#000000##FFFFFF
##2F209F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f209f;
/* rgb */ color: rgb(47, 32, 159);
/* oklch */ color: oklch(36.6% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#795fbd',
    500: '#2f209f',
    950: '#000000',
  },
}
SCSS
$custom: #2f209f;
$custom-light: #795fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f209f",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 247.087,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.1903,
    "h": 276.7
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#2F209F
secondary
#B6C259
accent
#E93ED5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2F209F

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

Preview Lab → · Contrast checker → · Palette generator →

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