#2D3ABB#2D3ABB

#2D3ABB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.199 H 270.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3ABB
RGBrgb(45, 58, 187)
HSLhsl(235, 61%, 45%)
HSVhsv(235, 76%, 73%)
CMYKcmyk(75.9%, 69%, 0%, 26.7%)
CIE-LABlab(32.19, 40.02, -68.89)
CIE-LCHlch(32.19, 79.67, 300.15°)
OKLaboklab(43.18% 0.0018 -0.1994)
OKLCHoklch(43.18% 0.199 270.5)
XYZxyz(11.5618, 7.1706, 47.7788)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3ABB #BBAE2D
analogous
#2D81BB #2D3ABB #672DBB
triadic
#2D3ABB #BB2D3A #3ABB2D
tetradic
#2D3ABB #BB2D81 #BBAE2D #2DBB67
square
#2D3ABB #BB2D81 #BBAE2D #2DBB67
split-complementary
#2D3ABB #BB672D #81BB2D
monochromatic
#151B58 #212B8A #2D3ABB #505CD5 #828AE1

Accessibility & contrast

On white

8.63
#2D3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3ABB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3ABB#FFFFFF#000000##FFFFFF
##2D3ABB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3abb;
/* rgb */ color: rgb(45, 58, 187);
/* oklch */ color: oklch(43.2% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d71d1',
    500: '#2d3abb',
    950: '#000000',
  },
}
SCSS
$custom: #2d3abb;
$custom-light: #7d71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3abb",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 234.507,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.1994,
    "h": 270.5
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#2D3ABB
secondary
#CAC27A
accent
#D643E4
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2D3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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