#2D3B7D#2D3B7D

#2D3B7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.113 H 271.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2D3B7D
RGBrgb(45, 59, 125)
HSLhsl(230, 47%, 33%)
HSVhsv(230, 64%, 49%)
CMYKcmyk(64%, 52.8%, 0%, 51%)
CIE-LABlab(27.20, 16.63, -39.32)
CIE-LCHlch(27.20, 42.69, 292.93°)
OKLaboklab(37.87% 0.0021 -0.1126)
OKLCHoklch(37.87% 0.113 271.1)
XYZxyz(6.3466, 5.1660, 20.0607)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B7D #7D6F2D
analogous
#2D637D #2D3B7D #472D7D
triadic
#2D3B7D #7D2D3B #3B7D2D
tetradic
#2D3B7D #7D2D63 #7D6F2D #2D7D47
square
#2D3B7D #7D2D63 #7D6F2D #2D7D47
split-complementary
#2D3B7D #7D472D #637D2D
monochromatic
#0D1123 #1D2650 #2D3B7D #3D50AA #5F71C5

Accessibility & contrast

On white

10.33
#2D3B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B7D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B7D#FFFFFF#000000##FFFFFF
##2D3B7D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3b7d;
/* rgb */ color: rgb(45, 59, 125);
/* oklch */ color: oklch(37.9% 0.113 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f70a3',
    500: '#2d3b7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b7d;
$custom-light: #6f70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b7d",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 229.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.11265,
    "h": 271.1
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#2D3B7D
secondary
#AC9D5A
accent
#BF51D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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