#2D3AB2#2D3AB2

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

Color values

HEX#2D3AB2
RGBrgb(45, 58, 178)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 70%)
CMYKcmyk(74.7%, 67.4%, 0%, 30.2%)
CIE-LABlab(31.34, 36.83, -64.96)
CIE-LCHlch(31.34, 74.67, 299.55°)
OKLaboklab(42.3% 0.0026 -0.1879)
OKLCHoklch(42.3% 0.188 270.8)
XYZxyz(10.6284, 6.7972, 42.8627)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB2 #B2A52D
analogous
#2D7CB2 #2D3AB2 #622DB2
triadic
#2D3AB2 #B22D3A #3AB22D
tetradic
#2D3AB2 #B22D7C #B2A52D #2DB262
square
#2D3AB2 #B22D7C #B2A52D #2DB262
split-complementary
#2D3AB2 #B2622D #7CB22D
monochromatic
#141A50 #212A81 #2D3AB2 #4B58D1 #7C85DE

Accessibility & contrast

On white

8.90
#2D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3AB2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB2#FFFFFF#000000##FFFFFF
##2D3AB21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3ab2;
/* rgb */ color: rgb(45, 58, 178);
/* oklch */ color: oklch(42.3% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b70ca',
    500: '#2d3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab2;
$custom-light: #7b70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab2",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 234.135,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.18792,
    "h": 270.8
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#2D3AB2
secondary
#C6BE75
accent
#D345E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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