#2D3F91#2D3F91

#2D3F91 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.137 H 269.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2D3F91
RGBrgb(45, 63, 145)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 57%)
CMYKcmyk(69%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.80, 21.41, -47.53)
CIE-LCHlch(29.80, 52.13, 294.25°)
OKLaboklab(40.3% -0.0003 -0.1367)
OKLCHoklch(40.3% 0.137 269.9)
XYZxyz(7.9688, 6.1565, 27.5509)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F91 #917F2D
analogous
#2D7191 #2D3F91 #4D2D91
triadic
#2D3F91 #912D3F #3F912D
tetradic
#2D3F91 #912D71 #917F2D #2D914D
square
#2D3F91 #912D71 #917F2D #2D914D
split-complementary
#2D3F91 #914D2D #71912D
monochromatic
#101634 #1F2B62 #2D3F91 #3B53C0 #687BD0

Accessibility & contrast

On white

9.41
#2D3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F91
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F91#FFFFFF#000000##FFFFFF
##2D3F911.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3f91;
/* rgb */ color: rgb(45, 63, 145);
/* oklch */ color: oklch(40.3% 0.137 269.9);
Tailwind
colors: {
  custom: {
    50: '#7373b2',
    500: '#2d3f91',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f91;
$custom-light: #7373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f91",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 229.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.13673,
    "h": 269.9
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#2D3F91
secondary
#B7A863
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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