#2D2A88#2D2A88

#2D2A88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.151 H 276.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2A88
RGBrgb(45, 42, 136)
HSLhsl(242, 53%, 35%)
HSVhsv(242, 69%, 53%)
CMYKcmyk(66.9%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.64, 32.04, -52.00)
CIE-LCHlch(23.64, 61.08, 301.64°)
OKLaboklab(35.51% 0.018 -0.15)
OKLCHoklch(35.51% 0.151 276.8)
XYZxyz(6.3526, 3.9909, 23.7233)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A88 #85882A
analogous
#2A5688 #2D2A88 #5C2A88
triadic
#2D2A88 #882D2A #2A882D
tetradic
#2D2A88 #882A56 #85882A #2A885C
square
#2D2A88 #882A56 #85882A #2A885C
split-complementary
#2D2A88 #885C2A #56882A
monochromatic
#0E0D2A #1E1C59 #2D2A88 #3C38B7 #625FCE

Accessibility & contrast

On white

11.68
#2D2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A88
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A88#FFFFFF#000000##FFFFFF
##2D2A881.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2a88;
/* rgb */ color: rgb(45, 42, 136);
/* oklch */ color: oklch(35.5% 0.151 276.8);
Tailwind
colors: {
  custom: {
    50: '#7264ac',
    500: '#2d2a88',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a88;
$custom-light: #7264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a88",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 241.915,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.15111,
    "h": 276.8
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#2D2A88
secondary
#B0B35B
accent
#DC4CD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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