#2D2289#2D2289

#2D2289 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.162 H 278.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2D2289
RGBrgb(45, 34, 137)
HSLhsl(246, 60%, 34%)
HSVhsv(246, 75%, 54%)
CMYKcmyk(67.2%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.97, 37.26, -55.37)
CIE-LCHlch(21.97, 66.74, 303.94°)
OKLaboklab(34.35% 0.0237 -0.1599)
OKLCHoklch(34.35% 0.162 278.4)
XYZxyz(6.1681, 3.5076, 24.0140)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2289 #7E8922
analogous
#224A89 #2D2289 #602289
triadic
#2D2289 #892D22 #22892D
tetradic
#2D2289 #89224A #7E8922 #228960
square
#2D2289 #89224A #7E8922 #228960
split-complementary
#2D2289 #896022 #4A8922
monochromatic
#0D0A27 #1D1658 #2D2289 #3D2EBA #5F51D4

Accessibility & contrast

On white

12.34
#2D2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2289
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2289#FFFFFF#000000##FFFFFF
##2D22891.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2289;
/* rgb */ color: rgb(45, 34, 137);
/* oklch */ color: oklch(34.3% 0.162 278.4);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2d2289',
    950: '#000000',
  },
}
SCSS
$custom: #2d2289;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2289",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 246.408,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34348,
    "c": 0.16161,
    "h": 278.4
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#2D2289
secondary
#ACB84F
accent
#E344D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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