#2D3CB8#2D3CB8

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

Color values

HEX#2D3CB8
RGBrgb(45, 60, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(75.5%, 67.4%, 0%, 27.8%)
CIE-LABlab(32.37, 37.72, -66.83)
CIE-LCHlch(32.37, 76.74, 299.44°)
OKLaboklab(43.22% 0.001 -0.1934)
OKLCHoklch(43.22% 0.193 270.3)
XYZxyz(11.3468, 7.2491, 46.1393)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB8 #B8A92D
analogous
#2D82B8 #2D3CB8 #632DB8
triadic
#2D3CB8 #B82D3C #3CB82D
tetradic
#2D3CB8 #B82D82 #B8A92D #2DB863
square
#2D3CB8 #B82D82 #B8A92D #2DB863
split-complementary
#2D3CB8 #B8632D #82B82D
monochromatic
#151C56 #212C87 #2D3CB8 #4E5DD4 #808AE0

Accessibility & contrast

On white

8.57
#2D3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CB8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB8#FFFFFF#000000##FFFFFF
##2D3CB81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3cb8;
/* rgb */ color: rgb(45, 60, 184);
/* oklch */ color: oklch(43.2% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c72ce',
    500: '#2d3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb8;
$custom-light: #7c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb8",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 233.525,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.19337,
    "h": 270.3
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#2D3CB8
secondary
#C9C078
accent
#D344E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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