#2D289F#2D289F

#2D289F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.183 H 274.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2D289F
RGBrgb(45, 40, 159)
HSLhsl(243, 60%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(71.7%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.50, 41.14, -63.14)
CIE-LCHlch(25.50, 75.36, 303.09°)
OKLaboklab(37.54% 0.0155 -0.1826)
OKLCHoklch(37.54% 0.183 274.8)
XYZxyz(8.0969, 4.5779, 33.2511)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D289F #9A9F28
analogous
#285F9F #2D289F #69289F
triadic
#2D289F #9F2D28 #289F2D
tetradic
#2D289F #9F285F #9A9F28 #289F69
square
#2D289F #9F285F #9A9F28 #289F69
split-complementary
#2D289F #9F6928 #5F9F28
monochromatic
#110F3D #1F1C6E #2D289F #3E37CD #6D68D9

Accessibility & contrast

On white

10.96
#2D289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D289F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D289F#FFFFFF#000000##FFFFFF
##2D289F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d289f;
/* rgb */ color: rgb(45, 40, 159);
/* oklch */ color: oklch(37.5% 0.183 274.8);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2d289f',
    950: '#000000',
  },
}
SCSS
$custom: #2d289f;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d289f",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 242.521,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.18321,
    "h": 274.8
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#2D289F
secondary
#BBBF64
accent
#E345DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D289F

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

Preview Lab → · Contrast checker → · Palette generator →

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