#2D3CB7#2D3CB7

#2D3CB7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.192 H 270.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D3CB7
RGBrgb(45, 60, 183)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75.4%, 67.2%, 0%, 28.2%)
CIE-LABlab(32.27, 37.36, -66.39)
CIE-LCHlch(32.27, 76.18, 299.37°)
OKLaboklab(43.13% 0.001 -0.1921)
OKLCHoklch(43.13% 0.192 270.3)
XYZxyz(11.2424, 7.2073, 45.5892)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB7 #B7A82D
analogous
#2D81B7 #2D3CB7 #632DB7
triadic
#2D3CB7 #B72D3C #3CB72D
tetradic
#2D3CB7 #B72D81 #B7A82D #2DB763
square
#2D3CB7 #B72D81 #B7A82D #2DB763
split-complementary
#2D3CB7 #B7632D #81B72D
monochromatic
#151C55 #212C86 #2D3CB7 #4E5CD3 #7F89DF

Accessibility & contrast

On white

8.60
#2D3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3CB7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB7#FFFFFF#000000##FFFFFF
##2D3CB71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3cb7;
/* rgb */ color: rgb(45, 60, 183);
/* oklch */ color: oklch(43.1% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c72ce',
    500: '#2d3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb7;
$custom-light: #7c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb7",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 233.478,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.19209,
    "h": 270.3
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#2D3CB7
secondary
#C8BF78
accent
#D244E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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