#2D3193#2D3193

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

Color values

HEX#2D3193
RGBrgb(45, 49, 147)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 69%, 58%)
CMYKcmyk(69.4%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.33, 31.46, -54.41)
CIE-LCHlch(26.33, 62.85, 300.04°)
OKLaboklab(37.78% 0.0114 -0.1571)
OKLCHoklch(37.78% 0.157 274.1)
XYZxyz(7.4452, 4.8604, 28.1439)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3193 #938F2D
analogous
#2D6493 #2D3193 #5C2D93
triadic
#2D3193 #932D31 #31932D
tetradic
#2D3193 #932D64 #938F2D #2D935C
square
#2D3193 #932D64 #938F2D #2D935C
split-complementary
#2D3193 #935C2D #64932D
monochromatic
#101235 #1F2164 #2D3193 #3B41C2 #696DD1

Accessibility & contrast

On white

10.65
#2D3193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3193
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3193#FFFFFF#000000##FFFFFF
##2D31931.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3193;
/* rgb */ color: rgb(45, 49, 147);
/* oklch */ color: oklch(37.8% 0.157 274.1);
Tailwind
colors: {
  custom: {
    50: '#7469b4',
    500: '#2d3193',
    950: '#000000',
  },
}
SCSS
$custom: #2d3193;
$custom-light: #7469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3193",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 237.647,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.15749,
    "h": 274.1
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#2D3193
secondary
#B8B564
accent
#D74BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3193

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

Preview Lab → · Contrast checker → · Palette generator →

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