#2D3AB7#2D3AB7

#2D3AB7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.194 H 270.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB7
RGBrgb(45, 58, 183)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 75%, 72%)
CMYKcmyk(75.4%, 68.3%, 0%, 28.2%)
CIE-LABlab(31.81, 38.61, -67.15)
CIE-LCHlch(31.81, 77.46, 299.90°)
OKLaboklab(42.79% 0.0022 -0.1943)
OKLCHoklch(42.79% 0.194 270.6)
XYZxyz(11.1396, 7.0017, 45.5549)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB7 #B7AA2D
analogous
#2D7FB7 #2D3AB7 #652DB7
triadic
#2D3AB7 #B72D3A #3AB72D
tetradic
#2D3AB7 #B72D7F #B7AA2D #2DB765
square
#2D3AB7 #B72D7F #B7AA2D #2DB765
split-complementary
#2D3AB7 #B7652D #7FB72D
monochromatic
#151B55 #212A86 #2D3AB7 #4E5AD3 #7F88DF

Accessibility & contrast

On white

8.75
#2D3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB7#FFFFFF#000000##FFFFFF
##2D3AB71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3ab7;
/* rgb */ color: rgb(45, 58, 183);
/* oklch */ color: oklch(42.8% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2d3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab7;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab7",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 234.348,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.19433,
    "h": 270.6
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#2D3AB7
secondary
#C8C178
accent
#D544E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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