#2D3CA3#2D3CA3

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

Color values

HEX#2D3CA3
RGBrgb(45, 60, 163)
HSLhsl(232, 57%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(72.4%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.48, 30.11, -57.38)
CIE-LCHlch(30.48, 64.80, 297.69°)
OKLaboklab(41.26% 0.0023 -0.1657)
OKLCHoklch(41.26% 0.166 270.8)
XYZxyz(9.3067, 6.4330, 35.3945)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA3 #A3942D
analogous
#2D77A3 #2D3CA3 #592DA3
triadic
#2D3CA3 #A32D3C #3CA32D
tetradic
#2D3CA3 #A32D77 #A3942D #2DA359
square
#2D3CA3 #A32D77 #A3942D #2DA359
split-complementary
#2D3CA3 #A3592D #77A32D
monochromatic
#131943 #202A73 #2D3CA3 #4254CB #727FD8

Accessibility & contrast

On white

9.18
#2D3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA3#FFFFFF#000000##FFFFFF
##2D3CA31.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3ca3;
/* rgb */ color: rgb(45, 60, 163);
/* oklch */ color: oklch(41.3% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#7771bf',
    500: '#2d3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca3;
$custom-light: #7771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca3",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 232.373,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.16572,
    "h": 270.8
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#2D3CA3
secondary
#C0B56C
accent
#CD48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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