#2D3191#2D3191

#2D3191 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.155 H 274.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3191
RGBrgb(45, 49, 145)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 69%, 57%)
CMYKcmyk(69%, 66.2%, 0%, 43.1%)
CIE-LABlab(26.15, 30.75, -53.48)
CIE-LCHlch(26.15, 61.68, 299.90°)
OKLaboklab(37.59% 0.0116 -0.1543)
OKLCHoklch(37.59% 0.155 274.3)
XYZxyz(7.2896, 4.7982, 27.3246)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3191 #918D2D
analogous
#2D6391 #2D3191 #5B2D91
triadic
#2D3191 #912D31 #31912D
tetradic
#2D3191 #912D63 #918D2D #2D915B
square
#2D3191 #912D63 #918D2D #2D915B
split-complementary
#2D3191 #915B2D #63912D
monochromatic
#101134 #1F2162 #2D3191 #3B41C0 #686CD0

Accessibility & contrast

On white

10.72
#2D3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3191
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3191#FFFFFF#000000##FFFFFF
##2D31911.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3191;
/* rgb */ color: rgb(45, 49, 145);
/* oklch */ color: oklch(37.6% 0.155 274.3);
Tailwind
colors: {
  custom: {
    50: '#7469b2',
    500: '#2d3191',
    950: '#000000',
  },
}
SCSS
$custom: #2d3191;
$custom-light: #7469b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3191",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 237.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.15477,
    "h": 274.3
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#2D3191
secondary
#B7B463
accent
#D64CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3191

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

Preview Lab → · Contrast checker → · Palette generator →

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