#2D3E95#2D3E95

#2D3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.144 H 270.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2D3E95
RGBrgb(45, 62, 149)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 58%)
CMYKcmyk(69.8%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.84, 23.58, -49.91)
CIE-LCHlch(29.84, 55.20, 295.29°)
OKLaboklab(40.43% 0.0007 -0.1438)
OKLCHoklch(40.43% 0.144 270.3)
XYZxyz(8.2278, 6.1723, 29.1857)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E95 #95842D
analogous
#2D7295 #2D3E95 #502D95
triadic
#2D3E95 #952D3E #3E952D
tetradic
#2D3E95 #952D72 #95842D #2D9550
square
#2D3E95 #952D72 #95842D #2D9550
split-complementary
#2D3E95 #95502D #72952D
monochromatic
#111737 #1F2A66 #2D3E95 #3B52C4 #6A7BD2

Accessibility & contrast

On white

9.40
#2D3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E95
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E95#FFFFFF#000000##FFFFFF
##2D3E951.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3e95;
/* rgb */ color: rgb(45, 62, 149);
/* oklch */ color: oklch(40.4% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#7373b5',
    500: '#2d3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e95;
$custom-light: #7373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e95",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 230.192,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.14376,
    "h": 270.3
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#2D3E95
secondary
#B9AB65
accent
#C54BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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