#2D289A#2D289A

#2D289A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.177 H 275.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2D289A
RGBrgb(45, 40, 154)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 60%)
CMYKcmyk(70.8%, 74%, 0%, 39.6%)
CIE-LABlab(24.98, 39.46, -60.94)
CIE-LCHlch(24.98, 72.60, 302.93°)
OKLaboklab(37.01% 0.0164 -0.1762)
OKLCHoklch(37.01% 0.177 275.3)
XYZxyz(7.6718, 4.4078, 31.0121)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D289A #959A28
analogous
#285C9A #2D289A #66289A
triadic
#2D289A #9A2D28 #289A2D
tetradic
#2D289A #9A285C #959A28 #289A66
square
#2D289A #9A285C #959A28 #289A66
split-complementary
#2D289A #9A6628 #5C9A28
monochromatic
#110F39 #1F1B69 #2D289A #3B35CA #6A65D7

Accessibility & contrast

On white

11.16
#2D289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D289A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D289A#FFFFFF#000000##FFFFFF
##2D289A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d289a;
/* rgb */ color: rgb(45, 40, 154);
/* oklch */ color: oklch(37.0% 0.177 275.3);
Tailwind
colors: {
  custom: {
    50: '#7763b9',
    500: '#2d289a',
    950: '#000000',
  },
}
SCSS
$custom: #2d289a;
$custom-light: #7763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d289a",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 242.632,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.17692,
    "h": 275.3
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#2D289A
secondary
#B9BD61
accent
#E246DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D289A

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

Preview Lab → · Contrast checker → · Palette generator →

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