#2D2E89#2D2E89

#2D2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.148 H 275.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2D2E89
RGBrgb(45, 46, 137)
HSLhsl(239, 51%, 36%)
HSVhsv(239, 67%, 54%)
CMYKcmyk(67.2%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.69, 29.83, -50.90)
CIE-LCHlch(24.69, 58.99, 300.37°)
OKLaboklab(36.31% 0.0146 -0.1468)
OKLCHoklch(36.31% 0.148 275.7)
XYZxyz(6.5731, 4.3175, 24.1490)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E89 #89882D
analogous
#2D5C89 #2D2E89 #5A2D89
triadic
#2D2E89 #892D2E #2E892D
tetradic
#2D2E89 #892D5C #89882D #2D895A
square
#2D2E89 #892D5C #89882D #2D895A
split-complementary
#2D2E89 #895A2D #5C892D
monochromatic
#0F0F2D #1E1F5B #2D2E89 #3C3DB7 #6465CC

Accessibility & contrast

On white

11.27
#2D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E89
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E89#FFFFFF#000000##FFFFFF
##2D2E891.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2e89;
/* rgb */ color: rgb(45, 46, 137);
/* oklch */ color: oklch(36.3% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#7267ac',
    500: '#2d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e89;
$custom-light: #7267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e89",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 239.348,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.14753,
    "h": 275.7
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#2D2E89
secondary
#B3B25F
accent
#D94EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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