#2D3A85#2D3A85

#2D3A85 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.126 H 271.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3A85
RGBrgb(45, 58, 133)
HSLhsl(231, 49%, 35%)
HSVhsv(231, 66%, 52%)
CMYKcmyk(66.2%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.51, 20.31, -43.83)
CIE-LCHlch(27.51, 48.30, 294.86°)
OKLaboklab(38.29% 0.0038 -0.1259)
OKLCHoklch(38.29% 0.126 271.7)
XYZxyz(6.8275, 5.2769, 22.8445)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A85 #85782D
analogous
#2D6685 #2D3A85 #4C2D85
triadic
#2D3A85 #852D3A #3A852D
tetradic
#2D3A85 #852D66 #85782D #2D854C
square
#2D3A85 #852D66 #85782D #2D854C
split-complementary
#2D3A85 #854C2D #66852D
monochromatic
#0E122A #1E2657 #2D3A85 #3C4EB3 #6272CA

Accessibility & contrast

On white

10.22
#2D3A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D3A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A85
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A85#FFFFFF#000000##FFFFFF
##2D3A851.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3a85;
/* rgb */ color: rgb(45, 58, 133);
/* oklch */ color: oklch(38.3% 0.126 271.7);
Tailwind
colors: {
  custom: {
    50: '#706fa9',
    500: '#2d3a85',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a85;
$custom-light: #706fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a85",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 231.136,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.12596,
    "h": 271.7
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#2D3A85
secondary
#B0A45D
accent
#C54FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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