#2D3AB0#2D3AB0

#2D3AB0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.185 H 270.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB0
RGBrgb(45, 58, 176)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(74.4%, 67%, 0%, 31%)
CIE-LABlab(31.15, 36.12, -64.07)
CIE-LCHlch(31.15, 73.55, 299.41°)
OKLaboklab(42.11% 0.0028 -0.1853)
OKLCHoklch(42.11% 0.185 270.9)
XYZxyz(10.4291, 6.7175, 41.8129)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB0 #B0A32D
analogous
#2D7BB0 #2D3AB0 #612DB0
triadic
#2D3AB0 #B02D3A #3AB02D
tetradic
#2D3AB0 #B02D7B #B0A32D #2DB061
square
#2D3AB0 #B02D7B #B0A32D #2DB061
split-complementary
#2D3AB0 #B0612D #7BB02D
monochromatic
#141A4F #212A7F #2D3AB0 #4A57D1 #7A84DD

Accessibility & contrast

On white

8.96
#2D3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D3AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB0
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB0#FFFFFF#000000##FFFFFF
##2D3AB01.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3ab0;
/* rgb */ color: rgb(45, 58, 176);
/* oklch */ color: oklch(42.1% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a70c9',
    500: '#2d3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab0;
$custom-light: #7a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab0",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 234.046,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.18533,
    "h": 270.9
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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