#2D3190#2D3190

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

Color values

HEX#2D3190
RGBrgb(45, 49, 144)
HSLhsl(238, 52%, 37%)
HSVhsv(238, 69%, 56%)
CMYKcmyk(68.7%, 66%, 0%, 43.5%)
CIE-LABlab(26.06, 30.39, -53.01)
CIE-LCHlch(26.06, 61.10, 299.82°)
OKLaboklab(37.5% 0.0116 -0.153)
OKLCHoklch(37.5% 0.153 274.3)
XYZxyz(7.2129, 4.7675, 26.9203)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3190 #908C2D
analogous
#2D6390 #2D3190 #5B2D90
triadic
#2D3190 #902D31 #31902D
tetradic
#2D3190 #902D63 #908C2D #2D905B
square
#2D3190 #902D63 #908C2D #2D905B
split-complementary
#2D3190 #905B2D #63902D
monochromatic
#101133 #1E2161 #2D3190 #3C41BF #686CD0

Accessibility & contrast

On white

10.75
#2D3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3190
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3190#FFFFFF#000000##FFFFFF
##2D31901.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3190;
/* rgb */ color: rgb(45, 49, 144);
/* oklch */ color: oklch(37.5% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#7369b1',
    500: '#2d3190',
    950: '#000000',
  },
}
SCSS
$custom: #2d3190;
$custom-light: #7369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3190",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 237.576,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.375,
    "c": 0.1534,
    "h": 274.3
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3190

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

Preview Lab → · Contrast checker → · Palette generator →

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