#2D2B88#2D2B88

#2D2B88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.150 H 276.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2D2B88
RGBrgb(45, 43, 136)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 68%, 53%)
CMYKcmyk(66.9%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.88, 31.41, -51.61)
CIE-LCHlch(23.88, 60.42, 301.32°)
OKLaboklab(35.69% 0.0172 -0.1489)
OKLCHoklch(35.69% 0.15 276.6)
XYZxyz(6.3886, 4.0627, 23.7353)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B88 #86882B
analogous
#2B5888 #2D2B88 #5B2B88
triadic
#2D2B88 #882D2B #2B882D
tetradic
#2D2B88 #882B58 #86882B #2B885B
square
#2D2B88 #882B58 #86882B #2B885B
split-complementary
#2D2B88 #885B2B #58882B
monochromatic
#0E0E2B #1E1C5A #2D2B88 #3C3AB6 #6361CD

Accessibility & contrast

On white

11.59
#2D2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B88
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B88#FFFFFF#000000##FFFFFF
##2D2B881.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2b88;
/* rgb */ color: rgb(45, 43, 136);
/* oklch */ color: oklch(35.7% 0.150 276.6);
Tailwind
colors: {
  custom: {
    50: '#7265ac',
    500: '#2d2b88',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b88;
$custom-light: #7265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b88",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 241.29,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.14989,
    "h": 276.6
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#2D2B88
secondary
#B1B35C
accent
#DB4CD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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