#2D3BB9#2D3BB9

#2D3BB9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.196 H 270.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB9
RGBrgb(45, 59, 185)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 73%)
CMYKcmyk(75.7%, 68.1%, 0%, 27.5%)
CIE-LABlab(32.23, 38.69, -67.65)
CIE-LCHlch(32.23, 77.93, 299.77°)
OKLaboklab(43.15% 0.0014 -0.1958)
OKLCHoklch(43.15% 0.196 270.4)
XYZxyz(11.4001, 7.1874, 46.6760)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB9 #B9AB2D
analogous
#2D81B9 #2D3BB9 #652DB9
triadic
#2D3BB9 #B92D3B #3BB92D
tetradic
#2D3BB9 #B92D81 #B9AB2D #2DB965
square
#2D3BB9 #B92D81 #B9AB2D #2DB965
split-complementary
#2D3BB9 #B9652D #81B92D
monochromatic
#151C57 #212B88 #2D3BB9 #4F5CD4 #808AE0

Accessibility & contrast

On white

8.61
#2D3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB9#FFFFFF#000000##FFFFFF
##2D3BB91.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3bb9;
/* rgb */ color: rgb(45, 59, 185);
/* oklch */ color: oklch(43.1% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c71cf',
    500: '#2d3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb9;
$custom-light: #7c71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb9",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 234,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.19577,
    "h": 270.4
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#2D3BB9
secondary
#C9C179
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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