#2D3CB4#2D3CB4

#2D3CB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.188 H 270.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2D3CB4
RGBrgb(45, 60, 180)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(75%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.00, 36.29, -65.07)
CIE-LCHlch(32.00, 74.50, 299.15°)
OKLaboklab(42.84% 0.0013 -0.1882)
OKLCHoklch(42.84% 0.188 270.4)
XYZxyz(10.9335, 7.0837, 43.9622)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB4 #B4A52D
analogous
#2D80B4 #2D3CB4 #622DB4
triadic
#2D3CB4 #B42D3C #3CB42D
tetradic
#2D3CB4 #B42D80 #B4A52D #2DB462
square
#2D3CB4 #B42D80 #B4A52D #2DB462
split-complementary
#2D3CB4 #B4622D #80B42D
monochromatic
#151B52 #212C83 #2D3CB4 #4C5BD2 #7D88DE

Accessibility & contrast

On white

8.69
#2D3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D3CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CB4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB4#FFFFFF#000000##FFFFFF
##2D3CB41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3cb4;
/* rgb */ color: rgb(45, 60, 180);
/* oklch */ color: oklch(42.8% 0.188 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b72cc',
    500: '#2d3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb4;
$custom-light: #7b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb4",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 233.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.18822,
    "h": 270.4
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#2D3CB4
secondary
#C7BE76
accent
#D245E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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