#2D3EB7#2D3EB7

#2D3EB7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.190 H 270.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D3EB7
RGBrgb(45, 62, 183)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(32.75, 36.10, -65.62)
CIE-LCHlch(32.75, 74.89, 298.82°)
OKLaboklab(43.47% -0.0001 -0.1898)
OKLCHoklch(43.47% 0.19 270)
XYZxyz(11.3491, 7.4208, 45.6248)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EB7 #B7A62D
analogous
#2D83B7 #2D3EB7 #612DB7
triadic
#2D3EB7 #B72D3E #3EB72D
tetradic
#2D3EB7 #B72D83 #B7A62D #2DB761
square
#2D3EB7 #B72D83 #B7A62D #2DB761
split-complementary
#2D3EB7 #B7612D #83B72D
monochromatic
#151D55 #212D86 #2D3EB7 #4E5ED3 #7F8BDF

Accessibility & contrast

On white

8.45
#2D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EB7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EB7#FFFFFF#000000##FFFFFF
##2D3EB71.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3eb7;
/* rgb */ color: rgb(45, 62, 183);
/* oklch */ color: oklch(43.5% 0.190 270.0);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3eb7;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3eb7",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 232.609,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.18981,
    "h": 270
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#2D3EB7
secondary
#C8BE78
accent
#D044E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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