#2D3BB5#2D3BB5

#2D3BB5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.191 H 270.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB5
RGBrgb(45, 59, 181)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75.1%, 67.4%, 0%, 29%)
CIE-LABlab(31.85, 37.27, -65.90)
CIE-LCHlch(31.85, 75.71, 299.49°)
OKLaboklab(42.76% 0.0018 -0.1906)
OKLCHoklch(42.76% 0.191 270.5)
XYZxyz(10.9838, 7.0208, 44.4834)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB5 #B5A72D
analogous
#2D7FB5 #2D3BB5 #632DB5
triadic
#2D3BB5 #B52D3B #3BB52D
tetradic
#2D3BB5 #B52D7F #B5A72D #2DB563
square
#2D3BB5 #B52D7F #B5A72D #2DB563
split-complementary
#2D3BB5 #B5632D #7FB52D
monochromatic
#151B53 #212B84 #2D3BB5 #4D5AD3 #7E88DF

Accessibility & contrast

On white

8.73
#2D3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3BB5
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB5#FFFFFF#000000##FFFFFF
##2D3BB51.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3bb5;
/* rgb */ color: rgb(45, 59, 181);
/* oklch */ color: oklch(42.8% 0.191 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b71cc',
    500: '#2d3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb5;
$custom-light: #7b71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb5",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 233.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.19065,
    "h": 270.5
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#2D3BB5
secondary
#C7BF76
accent
#D344E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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