#2D2E96#2D2E96

#2D2E96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.165 H 274.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2D2E96
RGBrgb(45, 46, 150)
HSLhsl(239, 54%, 38%)
HSVhsv(239, 70%, 59%)
CMYKcmyk(70%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.90, 34.44, -56.96)
CIE-LCHlch(25.90, 66.57, 301.16°)
OKLaboklab(37.55% 0.0132 -0.1646)
OKLCHoklch(37.55% 0.165 274.6)
XYZxyz(7.5624, 4.7132, 29.3594)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E96 #96952D
analogous
#2D6296 #2D2E96 #612D96
triadic
#2D2E96 #962D2E #2E962D
tetradic
#2D2E96 #962D62 #96952D #2D9661
square
#2D2E96 #962D62 #96952D #2D9661
split-complementary
#2D2E96 #96612D #62962D
monochromatic
#111138 #1F2067 #2D2E96 #3C3DC4 #6B6CD3

Accessibility & contrast

On white

10.81
#2D2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E96
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E96#FFFFFF#000000##FFFFFF
##2D2E961.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2e96;
/* rgb */ color: rgb(45, 46, 150);
/* oklch */ color: oklch(37.6% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#7567b6',
    500: '#2d2e96',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e96;
$custom-light: #7567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e96",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 239.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.16509,
    "h": 274.6
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#2D2E96
secondary
#B9B965
accent
#DC4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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