#2D3BB3#2D3BB3

#2D3BB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.188 H 270.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB3
RGBrgb(45, 59, 179)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 70%)
CMYKcmyk(74.9%, 67%, 0%, 29.8%)
CIE-LABlab(31.67, 36.56, -65.01)
CIE-LCHlch(31.67, 74.59, 299.35°)
OKLaboklab(42.57% 0.002 -0.1881)
OKLCHoklch(42.57% 0.188 270.6)
XYZxyz(10.7801, 6.9393, 43.4104)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB3 #B3A52D
analogous
#2D7EB3 #2D3BB3 #622DB3
triadic
#2D3BB3 #B32D3B #3BB32D
tetradic
#2D3BB3 #B32D7E #B3A52D #2DB362
square
#2D3BB3 #B32D7E #B3A52D #2DB362
split-complementary
#2D3BB3 #B3622D #7EB32D
monochromatic
#141B51 #212B82 #2D3BB3 #4B59D2 #7C86DE

Accessibility & contrast

On white

8.79
#2D3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB3#FFFFFF#000000##FFFFFF
##2D3BB31.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3bb3;
/* rgb */ color: rgb(45, 59, 179);
/* oklch */ color: oklch(42.6% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b71cb',
    500: '#2d3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb3;
$custom-light: #7b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb3",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 233.731,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.18807,
    "h": 270.6
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#2D3BB3
secondary
#C7BE75
accent
#D245E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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