#2D3BB7#2D3BB7

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

Color values

HEX#2D3BB7
RGBrgb(45, 59, 183)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 75%, 72%)
CMYKcmyk(75.4%, 67.8%, 0%, 28.2%)
CIE-LABlab(32.04, 37.99, -66.77)
CIE-LCHlch(32.04, 76.82, 299.63°)
OKLaboklab(42.96% 0.0016 -0.1932)
OKLCHoklch(42.96% 0.193 270.5)
XYZxyz(11.1905, 7.1035, 45.5719)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB7 #B7A92D
analogous
#2D80B7 #2D3BB7 #642DB7
triadic
#2D3BB7 #B72D3B #3BB72D
tetradic
#2D3BB7 #B72D80 #B7A92D #2DB764
square
#2D3BB7 #B72D80 #B7A92D #2DB764
split-complementary
#2D3BB7 #B7642D #80B72D
monochromatic
#151B55 #212B86 #2D3BB7 #4E5BD3 #7F89DF

Accessibility & contrast

On white

8.67
#2D3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB7
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB7#FFFFFF#000000##FFFFFF
##2D3BB71.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3bb7;
/* rgb */ color: rgb(45, 59, 183);
/* oklch */ color: oklch(43.0% 0.193 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c71ce',
    500: '#2d3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb7;
$custom-light: #7c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb7",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 233.913,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.19322,
    "h": 270.5
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#2D3BB7
secondary
#C8C078
accent
#D344E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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