#2D2FB3#2D2FB3

#2D2FB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.201 H 272.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB3
RGBrgb(45, 47, 179)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(74.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(29.02, 43.82, -69.38)
CIE-LCHlch(29.02, 82.06, 302.28°)
OKLaboklab(40.66% 0.0083 -0.2008)
OKLCHoklch(40.66% 0.201 272.4)
XYZxyz(10.2326, 5.8445, 43.2279)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB3 #B3B12D
analogous
#2D72B3 #2D2FB3 #6E2DB3
triadic
#2D2FB3 #B32D2F #2FB32D
tetradic
#2D2FB3 #B32D72 #B3B12D #2DB36E
square
#2D2FB3 #B32D72 #B3B12D #2DB36E
split-complementary
#2D2FB3 #B36E2D #72B32D
monochromatic
#141551 #212282 #2D2FB3 #4B4DD2 #7C7EDE

Accessibility & contrast

On white

9.68
#2D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB3
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB3#FFFFFF#000000##FFFFFF
##2D2FB31.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2fb3;
/* rgb */ color: rgb(45, 47, 179);
/* oklch */ color: oklch(40.7% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c69cb',
    500: '#2d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb3;
$custom-light: #7c69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb3",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 239.104,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4066,
    "c": 0.20096,
    "h": 272.4
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#2D2FB3
secondary
#C7C575
accent
#E145E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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