#2D3AB8#2D3AB8

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

Color values

HEX#2D3AB8
RGBrgb(45, 58, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(75.5%, 68.5%, 0%, 27.8%)
CIE-LABlab(31.91, 38.96, -67.59)
CIE-LCHlch(31.91, 78.01, 299.96°)
OKLaboklab(42.89% 0.0021 -0.1956)
OKLCHoklch(42.89% 0.196 270.6)
XYZxyz(11.2440, 7.0435, 46.1050)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB8 #B8AB2D
analogous
#2D80B8 #2D3AB8 #652DB8
triadic
#2D3AB8 #B82D3A #3AB82D
tetradic
#2D3AB8 #B82D80 #B8AB2D #2DB865
square
#2D3AB8 #B82D80 #B8AB2D #2DB865
split-complementary
#2D3AB8 #B8652D #80B82D
monochromatic
#151B56 #212B87 #2D3AB8 #4E5BD4 #8089E0

Accessibility & contrast

On white

8.72
#2D3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB8#FFFFFF#000000##FFFFFF
##2D3AB81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3ab8;
/* rgb */ color: rgb(45, 58, 184);
/* oklch */ color: oklch(42.9% 0.196 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2d3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab8;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab8",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 234.388,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.1956,
    "h": 270.6
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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