#2D3D85#2D3D85

#2D3D85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.122 H 270.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2D3D85
RGBrgb(45, 61, 133)
HSLhsl(229, 49%, 35%)
HSVhsv(229, 66%, 52%)
CMYKcmyk(66.2%, 54.1%, 0%, 47.8%)
CIE-LABlab(28.35, 18.26, -42.47)
CIE-LCHlch(28.35, 46.23, 293.26°)
OKLaboklab(38.92% 0.0008 -0.1219)
OKLCHoklch(38.92% 0.122 270.4)
XYZxyz(6.9831, 5.5882, 22.8964)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D85 #85752D
analogous
#2D6985 #2D3D85 #492D85
triadic
#2D3D85 #852D3D #3D852D
tetradic
#2D3D85 #852D69 #85752D #2D8549
square
#2D3D85 #852D69 #85752D #2D8549
split-complementary
#2D3D85 #85492D #69852D
monochromatic
#0E132A #1E2857 #2D3D85 #3C52B3 #6275CA

Accessibility & contrast

On white

9.92
#2D3D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D3D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D85
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D85#FFFFFF#000000##FFFFFF
##2D3D851.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104788
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3d85;
/* rgb */ color: rgb(45, 61, 133);
/* oklch */ color: oklch(38.9% 0.122 270.4);
Tailwind
colors: {
  custom: {
    50: '#7072a9',
    500: '#2d3d85',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d85;
$custom-light: #7072a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d85",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 229.091,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.12187,
    "h": 270.4
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#2D3D85
secondary
#B0A15D
accent
#C04FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3D85

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

Preview Lab → · Contrast checker → · Palette generator →

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