#2D2A89#2D2A89

#2D2A89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.152 H 276.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2D2A89
RGBrgb(45, 42, 137)
HSLhsl(242, 53%, 35%)
HSVhsv(242, 69%, 54%)
CMYKcmyk(67.2%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.74, 32.40, -52.47)
CIE-LCHlch(23.74, 61.67, 301.69°)
OKLaboklab(35.61% 0.0179 -0.1514)
OKLCHoklch(35.61% 0.152 276.7)
XYZxyz(6.4240, 4.0194, 24.0993)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A89 #86892A
analogous
#2A5689 #2D2A89 #5D2A89
triadic
#2D2A89 #892D2A #2A892D
tetradic
#2D2A89 #892A56 #86892A #2A895D
square
#2D2A89 #892A56 #86892A #2A895D
split-complementary
#2D2A89 #895D2A #56892A
monochromatic
#0E0D2B #1E1C5A #2D2A89 #3C38B8 #635FCE

Accessibility & contrast

On white

11.64
#2D2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2A89
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A89#FFFFFF#000000##FFFFFF
##2D2A891.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2a89;
/* rgb */ color: rgb(45, 42, 137);
/* oklch */ color: oklch(35.6% 0.152 276.7);
Tailwind
colors: {
  custom: {
    50: '#7264ac',
    500: '#2d2a89',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a89;
$custom-light: #7264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a89",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 241.895,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35611,
    "c": 0.15247,
    "h": 276.7
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#2D2A89
secondary
#B1B45B
accent
#DC4BD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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