#2D3199#2D3199

#2D3199 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.166 H 273.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2D3199
RGBrgb(45, 49, 153)
HSLhsl(238, 55%, 39%)
HSVhsv(238, 71%, 60%)
CMYKcmyk(70.6%, 68%, 0%, 40%)
CIE-LABlab(26.89, 33.61, -57.19)
CIE-LCHlch(26.89, 66.33, 300.44°)
OKLaboklab(38.35% 0.0108 -0.1652)
OKLCHoklch(38.35% 0.166 273.7)
XYZxyz(7.9284, 5.0537, 30.6884)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3199 #99952D
analogous
#2D6799 #2D3199 #5F2D99
triadic
#2D3199 #992D31 #31992D
tetradic
#2D3199 #992D67 #99952D #2D995F
square
#2D3199 #992D67 #99952D #2D995F
split-complementary
#2D3199 #995F2D #67992D
monochromatic
#11133A #1F226A #2D3199 #3D42C6 #6C70D4

Accessibility & contrast

On white

10.44
#2D3199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3199
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3199#FFFFFF#000000##FFFFFF
##2D31991.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3199;
/* rgb */ color: rgb(45, 49, 153);
/* oklch */ color: oklch(38.4% 0.166 273.7);
Tailwind
colors: {
  custom: {
    50: '#7569b8',
    500: '#2d3199',
    950: '#000000',
  },
}
SCSS
$custom: #2d3199;
$custom-light: #7569b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3199",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 237.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.16556,
    "h": 273.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#2D3199
secondary
#BBB867
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D3199

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

Preview Lab → · Contrast checker → · Palette generator →

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