#2D2FBB#2D2FBB

#2D2FBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.211 H 271.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2D2FBB
RGBrgb(45, 47, 187)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(75.9%, 74.9%, 0%, 26.7%)
CIE-LABlab(29.86, 46.49, -72.74)
CIE-LCHlch(29.86, 86.33, 302.58°)
OKLaboklab(41.51% 0.0069 -0.2106)
OKLCHoklch(41.51% 0.211 271.9)
XYZxyz(11.0653, 6.1776, 47.6133)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FBB #BBB92D
analogous
#2D76BB #2D2FBB #722DBB
triadic
#2D2FBB #BB2D2F #2FBB2D
tetradic
#2D2FBB #BB2D76 #BBB92D #2DBB72
square
#2D2FBB #BB2D76 #BBB92D #2DBB72
split-complementary
#2D2FBB #BB722D #76BB2D
monochromatic
#151658 #21238A #2D2FBB #5052D5 #8283E1

Accessibility & contrast

On white

9.39
#2D2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FBB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FBB#FFFFFF#000000##FFFFFF
##2D2FBB1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2fbb;
/* rgb */ color: rgb(45, 47, 187);
/* oklch */ color: oklch(41.5% 0.211 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e69d1',
    500: '#2d2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fbb;
$custom-light: #7e69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fbb",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 239.155,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.21068,
    "h": 271.9
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#2D2FBB
secondary
#CAC97A
accent
#E243E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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