#2D3BB6#2D3BB6

#2D3BB6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.192 H 270.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB6
RGBrgb(45, 59, 182)
HSLhsl(234, 60%, 45%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75.3%, 67.6%, 0%, 28.6%)
CIE-LABlab(31.95, 37.63, -66.34)
CIE-LCHlch(31.95, 76.27, 299.57°)
OKLaboklab(42.86% 0.0017 -0.1919)
OKLCHoklch(42.86% 0.192 270.5)
XYZxyz(11.0868, 7.0620, 45.0257)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB6 #B6A82D
analogous
#2D7FB6 #2D3BB6 #642DB6
triadic
#2D3BB6 #B62D3B #3BB62D
tetradic
#2D3BB6 #B62D7F #B6A82D #2DB664
square
#2D3BB6 #B62D7F #B6A82D #2DB664
split-complementary
#2D3BB6 #B6642D #7FB62D
monochromatic
#151B54 #212B85 #2D3BB6 #4D5BD3 #7E88DF

Accessibility & contrast

On white

8.70
#2D3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB6
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB6#FFFFFF#000000##FFFFFF
##2D3BB61.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3bb6;
/* rgb */ color: rgb(45, 59, 182);
/* oklch */ color: oklch(42.9% 0.192 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b71cd',
    500: '#2d3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb6;
$custom-light: #7b71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb6",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 233.869,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.19194,
    "h": 270.5
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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