#2D3AAB#2D3AAB

#2D3AAB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.179 H 271.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D3AAB
RGBrgb(45, 58, 171)
HSLhsl(234, 58%, 42%)
HSVhsv(234, 74%, 67%)
CMYKcmyk(73.7%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.70, 34.32, -61.84)
CIE-LCHlch(30.70, 70.72, 299.03°)
OKLaboklab(41.64% 0.0032 -0.1788)
OKLCHoklch(41.64% 0.179 271)
XYZxyz(9.9434, 6.5232, 39.2553)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AAB #AB9E2D
analogous
#2D79AB #2D3AAB #5F2DAB
triadic
#2D3AAB #AB2D3A #3AAB2D
tetradic
#2D3AAB #AB2D79 #AB9E2D #2DAB5F
square
#2D3AAB #AB2D79 #AB9E2D #2DAB5F
split-complementary
#2D3AAB #AB5F2D #79AB2D
monochromatic
#14194A #202A7B #2D3AAB #4755CE #7781DB

Accessibility & contrast

On white

9.11
#2D3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AAB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AAB#FFFFFF#000000##FFFFFF
##2D3AAB1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3aab;
/* rgb */ color: rgb(45, 58, 171);
/* oklch */ color: oklch(41.6% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#7970c5',
    500: '#2d3aab',
    950: '#000000',
  },
}
SCSS
$custom: #2d3aab;
$custom-light: #7970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3aab",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 233.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.1788,
    "h": 271
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#2D3AAB
secondary
#C3BB71
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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