#2D3BB0#2D3BB0

#2D3BB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.184 H 270.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB0
RGBrgb(45, 59, 176)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(74.4%, 66.5%, 0%, 31%)
CIE-LABlab(31.39, 35.48, -63.68)
CIE-LCHlch(31.39, 72.90, 299.13°)
OKLaboklab(42.28% 0.0022 -0.1842)
OKLCHoklch(42.28% 0.184 270.7)
XYZxyz(10.4800, 6.8193, 41.8298)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB0 #B0A22D
analogous
#2D7CB0 #2D3BB0 #602DB0
triadic
#2D3BB0 #B02D3B #3BB02D
tetradic
#2D3BB0 #B02D7C #B0A22D #2DB060
square
#2D3BB0 #B02D7C #B0A22D #2DB060
split-complementary
#2D3BB0 #B0602D #7CB02D
monochromatic
#141A4F #212B7F #2D3BB0 #4A58D1 #7A85DD

Accessibility & contrast

On white

8.88
#2D3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D3BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB0
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB0#FFFFFF#000000##FFFFFF
##2D3BB01.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3bb0;
/* rgb */ color: rgb(45, 59, 176);
/* oklch */ color: oklch(42.3% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a71c9',
    500: '#2d3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb0;
$custom-light: #7a71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb0",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 233.588,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.18418,
    "h": 270.7
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#2D3BB0
secondary
#C5BD73
accent
#D245E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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