#2D3285#2D3285

#2D3285 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.137 H 274.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D3285
RGBrgb(45, 50, 133)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 66%, 52%)
CMYKcmyk(66.2%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.36, 25.73, -47.32)
CIE-LCHlch(25.36, 53.86, 298.54°)
OKLaboklab(36.69% 0.0114 -0.1363)
OKLCHoklch(36.69% 0.137 274.8)
XYZxyz(6.4550, 4.5320, 22.7203)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3285 #85802D
analogous
#2D5E85 #2D3285 #542D85
triadic
#2D3285 #852D32 #32852D
tetradic
#2D3285 #852D5E #85802D #2D8554
square
#2D3285 #852D5E #85802D #2D8554
split-complementary
#2D3285 #85542D #5E852D
monochromatic
#0E102A #1E2157 #2D3285 #3C43B3 #6268CA

Accessibility & contrast

On white

11.01
#2D3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3285
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3285#FFFFFF#000000##FFFFFF
##2D32851.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3285;
/* rgb */ color: rgb(45, 50, 133);
/* oklch */ color: oklch(36.7% 0.137 274.8);
Tailwind
colors: {
  custom: {
    50: '#716aa9',
    500: '#2d3285',
    950: '#000000',
  },
}
SCSS
$custom: #2d3285;
$custom-light: #716aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3285",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 236.591,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36686,
    "c": 0.13675,
    "h": 274.8
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#2D3285
secondary
#B0AC5D
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3285

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

Preview Lab → · Contrast checker → · Palette generator →

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