#2F1EA9#2F1EA9

#2F1EA9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.204 H 275.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2F1EA9
RGBrgb(47, 30, 169)
HSLhsl(247, 70%, 39%)
HSVhsv(247, 82%, 66%)
CMYKcmyk(72.2%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.94, 49.69, -70.12)
CIE-LCHlch(24.94, 85.94, 305.32°)
OKLaboklab(37.51% 0.0203 -0.2027)
OKLCHoklch(37.51% 0.204 275.7)
XYZxyz(8.7956, 4.3966, 37.9135)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1EA9 #98A91E
analogous
#1E53A9 #2F1EA9 #751EA9
triadic
#2F1EA9 #A92F1E #1EA92F
tetradic
#2F1EA9 #A91E53 #98A91E #1EA975
square
#2F1EA9 #A91E53 #98A91E #1EA975
split-complementary
#2F1EA9 #A9751E #53A91E
monochromatic
#120C41 #211575 #2F1EA9 #402BD9 #6F5FE3

Accessibility & contrast

On white

11.17
#2F1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1EA9
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1EA9#FFFFFF#000000##FFFFFF
##2F1EA91.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f1ea9;
/* rgb */ color: rgb(47, 30, 169);
/* oklch */ color: oklch(37.5% 0.204 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c5fc4',
    500: '#2f1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2f1ea9;
$custom-light: #7c5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1ea9",
  "rgb": {
    "r": 47,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 247.338,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.20369,
    "h": 275.7
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#2F1EA9
secondary
#BAC75C
accent
#ED3BD7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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