#2D2E8D#2D2E8D

#2D2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.153 H 275.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2D2E8D
RGBrgb(45, 46, 141)
HSLhsl(239, 52%, 36%)
HSVhsv(239, 68%, 55%)
CMYKcmyk(68.1%, 67.4%, 0%, 44.7%)
CIE-LABlab(25.06, 31.25, -52.79)
CIE-LCHlch(25.06, 61.35, 300.63°)
OKLaboklab(36.69% 0.0143 -0.1524)
OKLCHoklch(36.69% 0.153 275.3)
XYZxyz(6.8653, 4.4344, 25.6883)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E8D #8D8C2D
analogous
#2D5E8D #2D2E8D #5C2D8D
triadic
#2D2E8D #8D2D2E #2E8D2D
tetradic
#2D2E8D #8D2D5E #8D8C2D #2D8D5C
square
#2D2E8D #8D2D5E #8D8C2D #2D8D5C
split-complementary
#2D2E8D #8D5C2D #5E8D2D
monochromatic
#0F1030 #1E1F5F #2D2E8D #3C3DBB #6667CE

Accessibility & contrast

On white

11.13
#2D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E8D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E8D#FFFFFF#000000##FFFFFF
##2D2E8D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2e8d;
/* rgb */ color: rgb(45, 46, 141);
/* oklch */ color: oklch(36.7% 0.153 275.3);
Tailwind
colors: {
  custom: {
    50: '#7367af',
    500: '#2d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e8d;
$custom-light: #7367af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e8d",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 239.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.15302,
    "h": 275.3
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#2D2E8D
secondary
#B5B461
accent
#DA4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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