#2D2E99#2D2E99

#2D2E99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.169 H 274.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2D2E99
RGBrgb(45, 46, 153)
HSLhsl(239, 55%, 39%)
HSVhsv(239, 71%, 60%)
CMYKcmyk(70.6%, 69.9%, 0%, 40%)
CIE-LABlab(26.19, 35.49, -58.33)
CIE-LCHlch(26.19, 68.28, 301.32°)
OKLaboklab(37.85% 0.0128 -0.1686)
OKLCHoklch(37.85% 0.169 274.4)
XYZxyz(7.8070, 4.8111, 30.6480)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E99 #99982D
analogous
#2D6499 #2D2E99 #622D99
triadic
#2D2E99 #992D2E #2E992D
tetradic
#2D2E99 #992D64 #99982D #2D9962
square
#2D2E99 #992D64 #99982D #2D9962
split-complementary
#2D2E99 #99622D #64992D
monochromatic
#11123A #1F206A #2D2E99 #3D3EC6 #6C6DD4

Accessibility & contrast

On white

10.70
#2D2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E99
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E99#FFFFFF#000000##FFFFFF
##2D2E991.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2e99;
/* rgb */ color: rgb(45, 46, 153);
/* oklch */ color: oklch(37.9% 0.169 274.4);
Tailwind
colors: {
  custom: {
    50: '#7667b8',
    500: '#2d2e99',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e99;
$custom-light: #7667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e99",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 239.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.16905,
    "h": 274.4
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#2D2E99
secondary
#BBBA67
accent
#DD4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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