#2D3295#2D3295

#2D3295 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.159 H 273.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3295
RGBrgb(45, 50, 149)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(69.8%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.76, 31.54, -54.95)
CIE-LCHlch(26.76, 63.35, 299.85°)
OKLaboklab(38.15% 0.0104 -0.1586)
OKLCHoklch(38.15% 0.159 273.8)
XYZxyz(7.6458, 5.0083, 28.9917)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3295 #95902D
analogous
#2D6695 #2D3295 #5C2D95
triadic
#2D3295 #952D32 #32952D
tetradic
#2D3295 #952D66 #95902D #2D955C
square
#2D3295 #952D66 #95902D #2D955C
split-complementary
#2D3295 #955C2D #66952D
monochromatic
#111237 #1F2266 #2D3295 #3B42C4 #6A6FD2

Accessibility & contrast

On white

10.49
#2D3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3295
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3295#FFFFFF#000000##FFFFFF
##2D32951.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3295;
/* rgb */ color: rgb(45, 50, 149);
/* oklch */ color: oklch(38.1% 0.159 273.8);
Tailwind
colors: {
  custom: {
    50: '#746ab5',
    500: '#2d3295',
    950: '#000000',
  },
}
SCSS
$custom: #2d3295;
$custom-light: #746ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3295",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 237.115,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38148,
    "c": 0.15898,
    "h": 273.8
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#2D3295
secondary
#B9B565
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3295

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

Preview Lab → · Contrast checker → · Palette generator →

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