#2D3CB2#2D3CB2

#2D3CB2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.186 H 270.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2D3CB2
RGBrgb(45, 60, 178)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 70%)
CMYKcmyk(74.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(31.81, 35.57, -64.18)
CIE-LCHlch(31.81, 73.38, 299.00°)
OKLaboklab(42.65% 0.0014 -0.1856)
OKLCHoklch(42.65% 0.186 270.4)
XYZxyz(10.7312, 7.0028, 42.8970)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB2 #B2A32D
analogous
#2D7EB2 #2D3CB2 #602DB2
triadic
#2D3CB2 #B22D3C #3CB22D
tetradic
#2D3CB2 #B22D7E #B2A32D #2DB260
square
#2D3CB2 #B22D7E #B2A32D #2DB260
split-complementary
#2D3CB2 #B2602D #7EB22D
monochromatic
#141B50 #212C81 #2D3CB2 #4B5AD1 #7C87DE

Accessibility & contrast

On white

8.75
#2D3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CB2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB2#FFFFFF#000000##FFFFFF
##2D3CB21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3cb2;
/* rgb */ color: rgb(45, 60, 178);
/* oklch */ color: oklch(42.6% 0.186 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a72ca',
    500: '#2d3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb2;
$custom-light: #7a72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb2",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 233.233,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.18563,
    "h": 270.4
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#2D3CB2
secondary
#C6BD75
accent
#D145E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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