#2D2285#2D2285

#2D2285 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.156 H 279.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2285
RGBrgb(45, 34, 133)
HSLhsl(247, 59%, 33%)
HSVhsv(247, 74%, 52%)
CMYKcmyk(66.2%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.56, 35.92, -53.54)
CIE-LCHlch(21.56, 64.47, 303.86°)
OKLaboklab(33.93% 0.0245 -0.1545)
OKLCHoklch(33.93% 0.156 279)
XYZxyz(5.8865, 3.3949, 22.5308)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2285 #7A8522
analogous
#224885 #2D2285 #5F2285
triadic
#2D2285 #852D22 #22852D
tetradic
#2D2285 #852248 #7A8522 #22855F
square
#2D2285 #852248 #7A8522 #22855F
split-complementary
#2D2285 #855F22 #488522
monochromatic
#0C0924 #1D1654 #2D2285 #3D2EB6 #5E4FD2

Accessibility & contrast

On white

12.51
#2D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2285
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2285#FFFFFF#000000##FFFFFF
##2D22851.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2285;
/* rgb */ color: rgb(45, 34, 133);
/* oklch */ color: oklch(33.9% 0.156 279.0);
Tailwind
colors: {
  custom: {
    50: '#725faa',
    500: '#2d2285',
    950: '#000000',
  },
}
SCSS
$custom: #2d2285;
$custom-light: #725faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2285",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 246.667,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33933,
    "c": 0.15645,
    "h": 279
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#2D2285
secondary
#AAB64D
accent
#E245D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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