#2D2E7E#2D2E7E

#2D2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.132 H 276.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2D2E7E
RGBrgb(45, 46, 126)
HSLhsl(239, 47%, 34%)
HSVhsv(239, 64%, 49%)
CMYKcmyk(64.3%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.73, 25.87, -45.57)
CIE-LCHlch(23.73, 52.40, 299.58°)
OKLaboklab(35.3% 0.0154 -0.1312)
OKLCHoklch(35.3% 0.132 276.7)
XYZxyz(5.8239, 4.0178, 20.2032)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E7E #7E7D2D
analogous
#2D567E #2D2E7E #542D7E
triadic
#2D2E7E #7E2D2E #2E7E2D
tetradic
#2D2E7E #7E2D56 #7E7D2D #2D7E54
square
#2D2E7E #7E2D56 #7E7D2D #2D7E54
split-complementary
#2D2E7E #7E542D #567E2D
monochromatic
#0D0D24 #1D1E51 #2D2E7E #3D3EAB #5F61C6

Accessibility & contrast

On white

11.64
#2D2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E7E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E7E#FFFFFF#000000##FFFFFF
##2D2E7E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2e7e;
/* rgb */ color: rgb(45, 46, 126);
/* oklch */ color: oklch(35.3% 0.132 276.7);
Tailwind
colors: {
  custom: {
    50: '#7067a4',
    500: '#2d2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e7e;
$custom-light: #7067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e7e",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 239.259,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.13207,
    "h": 276.7
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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