#2D3E85#2D3E85

#2D3E85 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.121 H 269.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2D3E85
RGBrgb(45, 62, 133)
HSLhsl(228, 49%, 35%)
HSVhsv(228, 66%, 52%)
CMYKcmyk(66.2%, 53.4%, 0%, 47.8%)
CIE-LABlab(28.63, 17.57, -42.01)
CIE-LCHlch(28.63, 45.54, 292.70°)
OKLaboklab(39.13% -0.0002 -0.1205)
OKLCHoklch(39.13% 0.121 269.9)
XYZxyz(7.0370, 5.6960, 22.9143)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E85 #85742D
analogous
#2D6A85 #2D3E85 #482D85
triadic
#2D3E85 #852D3E #3E852D
tetradic
#2D3E85 #852D6A #85742D #2D8548
square
#2D3E85 #852D6A #85742D #2D8548
split-complementary
#2D3E85 #85482D #6A852D
monochromatic
#0E132A #1E2957 #2D3E85 #3C53B3 #6276CA

Accessibility & contrast

On white

9.82
#2D3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E85
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E85#FFFFFF#000000##FFFFFF
##2D3E851.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134888
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3e85;
/* rgb */ color: rgb(45, 62, 133);
/* oklch */ color: oklch(39.1% 0.121 269.9);
Tailwind
colors: {
  custom: {
    50: '#7072a9',
    500: '#2d3e85',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e85;
$custom-light: #7072a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e85",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 228.409,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.12051,
    "h": 269.9
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#2D3E85
secondary
#B0A05D
accent
#BE4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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