#2D2B89#2D2B89

#2D2B89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.151 H 276.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2D2B89
RGBrgb(45, 43, 137)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 69%, 54%)
CMYKcmyk(67.2%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.97, 31.76, -52.08)
CIE-LCHlch(23.97, 61.00, 301.37°)
OKLaboklab(35.78% 0.0171 -0.1503)
OKLCHoklch(35.78% 0.151 276.5)
XYZxyz(6.4599, 4.0912, 24.1113)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B89 #87892B
analogous
#2B5889 #2D2B89 #5C2B89
triadic
#2D2B89 #892D2B #2B892D
tetradic
#2D2B89 #892B58 #87892B #2B895C
square
#2D2B89 #892B58 #87892B #2B895C
split-complementary
#2D2B89 #895C2B #58892B
monochromatic
#0E0E2C #1E1C5A #2D2B89 #3C3AB8 #6361CD

Accessibility & contrast

On white

11.55
#2D2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B89
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B89#FFFFFF#000000##FFFFFF
##2D2B891.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2b89;
/* rgb */ color: rgb(45, 43, 137);
/* oklch */ color: oklch(35.8% 0.151 276.5);
Tailwind
colors: {
  custom: {
    50: '#7265ac',
    500: '#2d2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b89;
$custom-light: #7265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b89",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 241.277,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35781,
    "c": 0.15125,
    "h": 276.5
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2D2B89
secondary
#B2B35C
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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