#2D3A95#2D3A95

#2D3A95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.149 H 271.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2D3A95
RGBrgb(45, 58, 149)
HSLhsl(233, 54%, 38%)
HSVhsv(233, 70%, 58%)
CMYKcmyk(69.8%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.78, 26.27, -51.64)
CIE-LCHlch(28.78, 57.94, 296.96°)
OKLaboklab(39.64% 0.0041 -0.1489)
OKLCHoklch(39.64% 0.149 271.6)
XYZxyz(8.0182, 5.7532, 29.1159)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A95 #95882D
analogous
#2D6E95 #2D3A95 #542D95
triadic
#2D3A95 #952D3A #3A952D
tetradic
#2D3A95 #952D6E #95882D #2D9554
square
#2D3A95 #952D6E #95882D #2D9554
split-complementary
#2D3A95 #95542D #6E952D
monochromatic
#111537 #1F2866 #2D3A95 #3B4CC4 #6A77D2

Accessibility & contrast

On white

9.76
#2D3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A95
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A95#FFFFFF#000000##FFFFFF
##2D3A951.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3a95;
/* rgb */ color: rgb(45, 58, 149);
/* oklch */ color: oklch(39.6% 0.149 271.6);
Tailwind
colors: {
  custom: {
    50: '#7470b5',
    500: '#2d3a95',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a95;
$custom-light: #7470b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a95",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 232.5,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.14894,
    "h": 271.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#2D3A95
secondary
#B9AE65
accent
#CB4BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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