#2D3CA8#2D3CA8

#2D3CA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.172 H 270.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA8
RGBrgb(45, 60, 168)
HSLhsl(233, 58%, 42%)
HSVhsv(233, 73%, 66%)
CMYKcmyk(73.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.92, 31.94, -59.68)
CIE-LCHlch(30.92, 67.69, 298.16°)
OKLaboklab(41.72% 0.002 -0.1724)
OKLCHoklch(41.72% 0.172 270.7)
XYZxyz(9.7635, 6.6158, 37.8006)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA8 #A8992D
analogous
#2D7AA8 #2D3CA8 #5C2DA8
triadic
#2D3CA8 #A82D3C #3CA82D
tetradic
#2D3CA8 #A82D7A #A8992D #2DA85C
square
#2D3CA8 #A82D7A #A8992D #2DA85C
split-complementary
#2D3CA8 #A85C2D #7AA82D
monochromatic
#131A47 #202B78 #2D3CA8 #4556CD #7582DA

Accessibility & contrast

On white

9.04
#2D3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D3CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA8#FFFFFF#000000##FFFFFF
##2D3CA81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3ca8;
/* rgb */ color: rgb(45, 60, 168);
/* oklch */ color: oklch(41.7% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#7871c3',
    500: '#2d3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca8;
$custom-light: #7871c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca8",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 232.683,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.17244,
    "h": 270.7
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#2D3CA8
secondary
#C2B86F
accent
#CE47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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