#2D3EB2#2D3EB2

#2D3EB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.183 H 270.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2D3EB2
RGBrgb(45, 62, 178)
HSLhsl(232, 60%, 44%)
HSVhsv(232, 75%, 70%)
CMYKcmyk(74.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.29, 34.29, -63.39)
CIE-LCHlch(32.29, 72.07, 298.41°)
OKLaboklab(43% 0.0002 -0.1833)
OKLCHoklch(43% 0.183 270.1)
XYZxyz(10.8379, 7.2163, 42.9326)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EB2 #B2A12D
analogous
#2D80B2 #2D3EB2 #5E2DB2
triadic
#2D3EB2 #B22D3E #3EB22D
tetradic
#2D3EB2 #B22D80 #B2A12D #2DB25E
square
#2D3EB2 #B22D80 #B2A12D #2DB25E
split-complementary
#2D3EB2 #B25E2D #80B22D
monochromatic
#141C50 #212D81 #2D3EB2 #4B5CD1 #7C88DE

Accessibility & contrast

On white

8.59
#2D3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EB2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EB2#FFFFFF#000000##FFFFFF
##2D3EB21.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3eb2;
/* rgb */ color: rgb(45, 62, 178);
/* oklch */ color: oklch(43.0% 0.183 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a73ca',
    500: '#2d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3eb2;
$custom-light: #7a73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3eb2",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 232.331,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43,
    "c": 0.1833,
    "h": 270.1
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#2D3EB2
secondary
#C6BC75
accent
#CF45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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