#2D2E7D#2D2E7D

#2D2E7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.131 H 276.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2E7D
RGBrgb(45, 46, 125)
HSLhsl(239, 47%, 33%)
HSVhsv(239, 64%, 49%)
CMYKcmyk(64%, 63.2%, 0%, 51%)
CIE-LABlab(23.65, 25.51, -45.08)
CIE-LCHlch(23.65, 51.80, 299.50°)
OKLaboklab(35.21% 0.0155 -0.1297)
OKLCHoklch(35.21% 0.131 276.8)
XYZxyz(5.7597, 3.9921, 19.8651)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E7D #7D7C2D
analogous
#2D567D #2D2E7D #542D7D
triadic
#2D2E7D #7D2D2E #2E7D2D
tetradic
#2D2E7D #7D2D56 #7D7C2D #2D7D54
square
#2D2E7D #7D2D56 #7D7C2D #2D7D54
split-complementary
#2D2E7D #7D542D #567D2D
monochromatic
#0D0D23 #1D1D50 #2D2E7D #3D3FAA #5F60C5

Accessibility & contrast

On white

11.68
#2D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E7D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E7D#FFFFFF#000000##FFFFFF
##2D2E7D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2e7d;
/* rgb */ color: rgb(45, 46, 125);
/* oklch */ color: oklch(35.2% 0.131 276.8);
Tailwind
colors: {
  custom: {
    50: '#7067a3',
    500: '#2d2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e7d;
$custom-light: #7067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e7d",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 239.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35213,
    "c": 0.13064,
    "h": 276.8
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#2D2E7D
secondary
#ACAB5A
accent
#D551D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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