#2D3BB4#2D3BB4

#2D3BB4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.189 H 270.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB4
RGBrgb(45, 59, 180)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75%, 67.2%, 0%, 29.4%)
CIE-LABlab(31.76, 36.92, -65.45)
CIE-LCHlch(31.76, 75.15, 299.42°)
OKLaboklab(42.67% 0.0019 -0.1893)
OKLCHoklch(42.67% 0.189 270.6)
XYZxyz(10.8816, 6.9799, 43.9449)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB4 #B4A62D
analogous
#2D7FB4 #2D3BB4 #632DB4
triadic
#2D3BB4 #B42D3B #3BB42D
tetradic
#2D3BB4 #B42D7F #B4A62D #2DB463
square
#2D3BB4 #B42D7F #B4A62D #2DB463
split-complementary
#2D3BB4 #B4632D #7FB42D
monochromatic
#151B52 #212B83 #2D3BB4 #4C5AD2 #7D87DE

Accessibility & contrast

On white

8.76
#2D3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D3BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB4
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB4#FFFFFF#000000##FFFFFF
##2D3BB41.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3bb4;
/* rgb */ color: rgb(45, 59, 180);
/* oklch */ color: oklch(42.7% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b71cc',
    500: '#2d3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb4;
$custom-light: #7b71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb4",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 233.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.18936,
    "h": 270.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#2D3BB4
secondary
#C7BF76
accent
#D345E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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