#2D2E9A#2D2E9A

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

Color values

HEX#2D2E9A
RGBrgb(45, 46, 154)
HSLhsl(239, 55%, 39%)
HSVhsv(239, 71%, 60%)
CMYKcmyk(70.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(26.29, 35.85, -58.78)
CIE-LCHlch(26.29, 68.85, 301.37°)
OKLaboklab(37.95% 0.0127 -0.1699)
OKLCHoklch(37.95% 0.17 274.3)
XYZxyz(7.8900, 4.8442, 31.0848)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E9A #9A992D
analogous
#2D659A #2D2E9A #632D9A
triadic
#2D2E9A #9A2D2E #2E9A2D
tetradic
#2D2E9A #9A2D65 #9A992D #2D9A63
square
#2D2E9A #9A2D65 #9A992D #2D9A63
split-complementary
#2D2E9A #9A632D #659A2D
monochromatic
#11123B #1F206B #2D2E9A #3E3FC7 #6D6ED4

Accessibility & contrast

On white

10.67
#2D2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E9A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E9A#FFFFFF#000000##FFFFFF
##2D2E9A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2e9a;
/* rgb */ color: rgb(45, 46, 154);
/* oklch */ color: oklch(37.9% 0.170 274.3);
Tailwind
colors: {
  custom: {
    50: '#7667b9',
    500: '#2d2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e9a;
$custom-light: #7667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e9a",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 239.45,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37949,
    "c": 0.17036,
    "h": 274.3
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#2D2E9A
secondary
#BBBB67
accent
#DD4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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