#2D3C85#2D3C85

#2D3C85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.123 H 270.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2D3C85
RGBrgb(45, 60, 133)
HSLhsl(230, 49%, 35%)
HSVhsv(230, 66%, 52%)
CMYKcmyk(66.2%, 54.9%, 0%, 47.8%)
CIE-LABlab(28.07, 18.94, -42.92)
CIE-LCHlch(28.07, 46.92, 293.81°)
OKLaboklab(38.71% 0.0018 -0.1232)
OKLCHoklch(38.71% 0.123 270.8)
XYZxyz(6.9303, 5.4824, 22.8788)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C85 #85762D
analogous
#2D6885 #2D3C85 #4A2D85
triadic
#2D3C85 #852D3C #3C852D
tetradic
#2D3C85 #852D68 #85762D #2D854A
square
#2D3C85 #852D68 #85762D #2D854A
split-complementary
#2D3C85 #854A2D #68852D
monochromatic
#0E132A #1E2757 #2D3C85 #3C51B3 #6274CA

Accessibility & contrast

On white

10.02
#2D3C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D3C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C85
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C85#FFFFFF#000000##FFFFFF
##2D3C851.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3c85;
/* rgb */ color: rgb(45, 60, 133);
/* oklch */ color: oklch(38.7% 0.123 270.8);
Tailwind
colors: {
  custom: {
    50: '#7071a9',
    500: '#2d3c85',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c85;
$custom-light: #7071a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c85",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 229.773,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38706,
    "c": 0.12323,
    "h": 270.8
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#2D3C85
secondary
#B0A25D
accent
#C14FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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