#2D3AB9#2D3AB9

#2D3AB9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.197 H 270.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB9
RGBrgb(45, 58, 185)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 73%)
CMYKcmyk(75.7%, 68.6%, 0%, 27.5%)
CIE-LABlab(32.00, 39.31, -68.02)
CIE-LCHlch(32.00, 78.57, 300.02°)
OKLaboklab(42.98% 0.002 -0.1969)
OKLCHoklch(42.98% 0.197 270.6)
XYZxyz(11.3492, 7.0856, 46.6591)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB9 #B9AC2D
analogous
#2D80B9 #2D3AB9 #662DB9
triadic
#2D3AB9 #B92D3A #3AB92D
tetradic
#2D3AB9 #B92D80 #B9AC2D #2DB966
square
#2D3AB9 #B92D80 #B9AC2D #2DB966
split-complementary
#2D3AB9 #B9662D #80B92D
monochromatic
#151B57 #212B88 #2D3AB9 #4F5BD4 #8089E0

Accessibility & contrast

On white

8.69
#2D3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D3AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB9#FFFFFF#000000##FFFFFF
##2D3AB91.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3ab9;
/* rgb */ color: rgb(45, 58, 185);
/* oklch */ color: oklch(43.0% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c70cf',
    500: '#2d3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab9;
$custom-light: #7c70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab9",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 234.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.19687,
    "h": 270.6
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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