#2D2E88#2D2E88

#2D2E88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.146 H 275.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2D2E88
RGBrgb(45, 46, 136)
HSLhsl(239, 50%, 35%)
HSVhsv(239, 67%, 53%)
CMYKcmyk(66.9%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.60, 29.47, -50.42)
CIE-LCHlch(24.60, 58.40, 300.30°)
OKLaboklab(36.21% 0.0147 -0.1454)
OKLCHoklch(36.21% 0.146 275.8)
XYZxyz(6.5017, 4.2889, 23.7730)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E88 #88872D
analogous
#2D5B88 #2D2E88 #5A2D88
triadic
#2D2E88 #882D2E #2E882D
tetradic
#2D2E88 #882D5B #88872D #2D885A
square
#2D2E88 #882D5B #88872D #2D885A
split-complementary
#2D2E88 #885A2D #5B882D
monochromatic
#0F0F2C #1E1E5A #2D2E88 #3C3EB6 #6465CC

Accessibility & contrast

On white

11.30
#2D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E88
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E88#FFFFFF#000000##FFFFFF
##2D2E881.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2e88;
/* rgb */ color: rgb(45, 46, 136);
/* oklch */ color: oklch(36.2% 0.146 275.8);
Tailwind
colors: {
  custom: {
    50: '#7267ac',
    500: '#2d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e88;
$custom-light: #7267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e88",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 239.341,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.14614,
    "h": 275.8
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#2D2E88
secondary
#B2B15F
accent
#D84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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