#2D3D95#2D3D95

#2D3D95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.145 H 270.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3D95
RGBrgb(45, 61, 149)
HSLhsl(231, 54%, 38%)
HSVhsv(231, 70%, 58%)
CMYKcmyk(69.8%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.57, 24.26, -50.35)
CIE-LCHlch(29.57, 55.89, 295.72°)
OKLaboklab(40.23% 0.0016 -0.1451)
OKLCHoklch(40.23% 0.145 270.6)
XYZxyz(8.1739, 6.0645, 29.1677)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D95 #95852D
analogous
#2D7195 #2D3D95 #512D95
triadic
#2D3D95 #952D3D #3D952D
tetradic
#2D3D95 #952D71 #95852D #2D9551
square
#2D3D95 #952D71 #95852D #2D9551
split-complementary
#2D3D95 #95512D #71952D
monochromatic
#111737 #1F2A66 #2D3D95 #3B50C4 #6A7AD2

Accessibility & contrast

On white

9.49
#2D3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D95
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D95#FFFFFF#000000##FFFFFF
##2D3D951.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3d95;
/* rgb */ color: rgb(45, 61, 149);
/* oklch */ color: oklch(40.2% 0.145 270.6);
Tailwind
colors: {
  custom: {
    50: '#7472b5',
    500: '#2d3d95',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d95;
$custom-light: #7472b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d95",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 230.769,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.14506,
    "h": 270.6
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#2D3D95
secondary
#B9AC65
accent
#C74BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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