#2D2E76#2D2E76

#2D2E76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.120 H 277.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2E76
RGBrgb(45, 46, 118)
HSLhsl(239, 45%, 32%)
HSVhsv(239, 62%, 46%)
CMYKcmyk(61.9%, 61%, 0%, 53.7%)
CIE-LABlab(23.07, 22.97, -41.58)
CIE-LCHlch(23.07, 47.50, 298.92°)
OKLaboklab(34.6% 0.0156 -0.1194)
OKLCHoklch(34.6% 0.12 277.5)
XYZxyz(5.3281, 3.8195, 17.5925)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E76 #76752D
analogous
#2D5376 #2D2E76 #512D76
triadic
#2D2E76 #762D2E #2E762D
tetradic
#2D2E76 #762D53 #76752D #2D7651
square
#2D2E76 #762D53 #76752D #2D7651
split-complementary
#2D2E76 #76512D #53762D
monochromatic
#0B0B1D #1C1D4A #2D2E76 #3E3FA2 #5C5EC1

Accessibility & contrast

On white

11.90
#2D2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E76
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E76#FFFFFF#000000##FFFFFF
##2D2E761.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2e76;
/* rgb */ color: rgb(45, 46, 118);
/* oklch */ color: oklch(34.6% 0.120 277.5);
Tailwind
colors: {
  custom: {
    50: '#6e669e',
    500: '#2d2e76',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e76;
$custom-light: #6e669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e76",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 239.178,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34603,
    "c": 0.12044,
    "h": 277.5
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2D2E76
secondary
#A7A657
accent
#D353D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2D2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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