#2D3290#2D3290

#2D3290 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.152 H 274.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2D3290
RGBrgb(45, 50, 144)
HSLhsl(237, 52%, 37%)
HSVhsv(237, 69%, 56%)
CMYKcmyk(68.7%, 65.3%, 0%, 43.5%)
CIE-LABlab(26.31, 29.73, -52.60)
CIE-LCHlch(26.31, 60.42, 299.48°)
OKLaboklab(37.68% 0.0108 -0.1518)
OKLCHoklch(37.68% 0.152 274.1)
XYZxyz(7.2552, 4.8521, 26.9343)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3290 #908B2D
analogous
#2D6390 #2D3290 #5A2D90
triadic
#2D3290 #902D32 #32902D
tetradic
#2D3290 #902D63 #908B2D #2D905A
square
#2D3290 #902D63 #908B2D #2D905A
split-complementary
#2D3290 #905A2D #63902D
monochromatic
#101233 #1E2261 #2D3290 #3C42BF #686DD0

Accessibility & contrast

On white

10.66
#2D3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3290
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3290#FFFFFF#000000##FFFFFF
##2D32901.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3290;
/* rgb */ color: rgb(45, 50, 144);
/* oklch */ color: oklch(37.7% 0.152 274.1);
Tailwind
colors: {
  custom: {
    50: '#736ab1',
    500: '#2d3290',
    950: '#000000',
  },
}
SCSS
$custom: #2d3290;
$custom-light: #736ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3290",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 236.97,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37681,
    "c": 0.15216,
    "h": 274.1
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#2D3290
secondary
#B6B262
accent
#D54CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3290

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

Preview Lab → · Contrast checker → · Palette generator →

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