#2D1FB0#2D1FB0

#2D1FB0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.211 H 274.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2D1FB0
RGBrgb(45, 31, 176)
HSLhsl(246, 70%, 41%)
HSVhsv(246, 82%, 69%)
CMYKcmyk(74.4%, 82.4%, 0%, 31%)
CIE-LABlab(25.78, 51.20, -72.95)
CIE-LCHlch(25.78, 89.12, 305.06°)
OKLaboklab(38.29% 0.0153 -0.2109)
OKLCHoklch(38.29% 0.212 274.1)
XYZxyz(9.4060, 4.6715, 41.4719)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1FB0 #A2B01F
analogous
#1F59B0 #2D1FB0 #751FB0
triadic
#2D1FB0 #B02D1F #1FB02D
tetradic
#2D1FB0 #B01F59 #A2B01F #1FB075
square
#2D1FB0 #B01F59 #A2B01F #1FB075
split-complementary
#2D1FB0 #B0751F #59B01F
monochromatic
#120D48 #20167C #2D1FB0 #4231DB #7265E4

Accessibility & contrast

On white

10.86
#2D1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D1FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1FB0
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1FB0#FFFFFF#000000##FFFFFF
##2D1FB01.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d1fb0;
/* rgb */ color: rgb(45, 31, 176);
/* oklch */ color: oklch(38.3% 0.211 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c60c9',
    500: '#2d1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2d1fb0;
$custom-light: #7c60c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1fb0",
  "rgb": {
    "r": 45,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 245.793,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38289,
    "c": 0.2115,
    "h": 274.1
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#2D1FB0
secondary
#BFC962
accent
#ED3BDC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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