#2D3EAB#2D3EAB

#2D3EAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.174 H 270.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3EAB
RGBrgb(45, 62, 171)
HSLhsl(232, 58%, 42%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(73.7%, 63.7%, 0%, 32.9%)
CIE-LABlab(31.68, 31.74, -60.23)
CIE-LCHlch(31.68, 68.08, 297.79°)
OKLaboklab(42.36% 0.0006 -0.174)
OKLCHoklch(42.36% 0.174 270.2)
XYZxyz(10.1530, 6.9424, 39.3251)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EAB #AB9A2D
analogous
#2D7DAB #2D3EAB #5B2DAB
triadic
#2D3EAB #AB2D3E #3EAB2D
tetradic
#2D3EAB #AB2D7D #AB9A2D #2DAB5B
square
#2D3EAB #AB2D7D #AB9A2D #2DAB5B
split-complementary
#2D3EAB #AB5B2D #7DAB2D
monochromatic
#141B4A #202C7B #2D3EAB #4759CE #7785DB

Accessibility & contrast

On white

8.79
#2D3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EAB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EAB#FFFFFF#000000##FFFFFF
##2D3EAB1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3eab;
/* rgb */ color: rgb(45, 62, 171);
/* oklch */ color: oklch(42.4% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#7973c5',
    500: '#2d3eab',
    950: '#000000',
  },
}
SCSS
$custom: #2d3eab;
$custom-light: #7973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3eab",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 231.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.17404,
    "h": 270.2
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#2D3EAB
secondary
#C3B871
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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