#2D3CA2#2D3CA2

#2D3CA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.164 H 270.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA2
RGBrgb(45, 60, 162)
HSLhsl(232, 57%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(72.2%, 63%, 0%, 36.5%)
CIE-LABlab(30.39, 29.75, -56.92)
CIE-LCHlch(30.39, 64.22, 297.59°)
OKLaboklab(41.17% 0.0023 -0.1643)
OKLCHoklch(41.17% 0.164 270.8)
XYZxyz(9.2174, 6.3973, 34.9244)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA2 #A2932D
analogous
#2D76A2 #2D3CA2 #592DA2
triadic
#2D3CA2 #A22D3C #3CA22D
tetradic
#2D3CA2 #A22D76 #A2932D #2DA259
square
#2D3CA2 #A22D76 #A2932D #2DA259
split-complementary
#2D3CA2 #A2592D #76A22D
monochromatic
#121942 #202A72 #2D3CA2 #4253CA #727FD8

Accessibility & contrast

On white

9.21
#2D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA2#FFFFFF#000000##FFFFFF
##2D3CA21.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3ca2;
/* rgb */ color: rgb(45, 60, 162);
/* oklch */ color: oklch(41.2% 0.164 270.8);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca2;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca2",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 232.308,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.16436,
    "h": 270.8
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#2D3CA2
secondary
#BFB46C
accent
#CC48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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