#2D2E9D#2D2E9D

#2D2E9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.174 H 274.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2D2E9D
RGBrgb(45, 46, 157)
HSLhsl(239, 55%, 40%)
HSVhsv(239, 71%, 62%)
CMYKcmyk(71.3%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.58, 36.89, -60.14)
CIE-LCHlch(26.58, 70.55, 301.53°)
OKLaboklab(38.25% 0.0123 -0.1738)
OKLCHoklch(38.25% 0.174 274)
XYZxyz(8.1430, 4.9454, 32.4172)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E9D #9D9C2D
analogous
#2D669D #2D2E9D #642D9D
triadic
#2D2E9D #9D2D2E #2E9D2D
tetradic
#2D2E9D #9D2D66 #9D9C2D #2D9D64
square
#2D2E9D #9D2D66 #9D9C2D #2D9D64
split-complementary
#2D2E9D #9D642D #669D2D
monochromatic
#12123E #1F206D #2D2E9D #3F40C8 #6F70D6

Accessibility & contrast

On white

10.56
#2D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E9D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E9D#FFFFFF#000000##FFFFFF
##2D2E9D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2e9d;
/* rgb */ color: rgb(45, 46, 157);
/* oklch */ color: oklch(38.2% 0.174 274.0);
Tailwind
colors: {
  custom: {
    50: '#7767bb',
    500: '#2d2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e9d;
$custom-light: #7767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e9d",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 239.464,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.17426,
    "h": 274
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#2D2E9D
secondary
#BDBC69
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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