#2D3A9B#2D3A9B

#2D3A9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.157 H 271.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2D3A9B
RGBrgb(45, 58, 155)
HSLhsl(233, 55%, 39%)
HSVhsv(233, 71%, 61%)
CMYKcmyk(71%, 62.6%, 0%, 39.2%)
CIE-LABlab(29.29, 28.48, -54.48)
CIE-LCHlch(29.29, 61.48, 297.60°)
OKLaboklab(40.17% 0.004 -0.1572)
OKLCHoklch(40.17% 0.157 271.5)
XYZxyz(8.5096, 5.9497, 31.7039)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A9B #9B8E2D
analogous
#2D719B #2D3A9B #572D9B
triadic
#2D3A9B #9B2D3A #3A9B2D
tetradic
#2D3A9B #9B2D71 #9B8E2D #2D9B57
square
#2D3A9B #9B2D71 #9B8E2D #2D9B57
split-complementary
#2D3A9B #9B572D #719B2D
monochromatic
#11173C #1F286C #2D3A9B #3E4EC7 #6E7AD5

Accessibility & contrast

On white

9.59
#2D3A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D3A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A9B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A9B#FFFFFF#000000##FFFFFF
##2D3A9B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3a9b;
/* rgb */ color: rgb(45, 58, 155);
/* oklch */ color: oklch(40.2% 0.157 271.5);
Tailwind
colors: {
  custom: {
    50: '#7570b9',
    500: '#2d3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a9b;
$custom-light: #7570b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a9b",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 232.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.15727,
    "h": 271.5
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#2D3A9B
secondary
#BCB268
accent
#CD49DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2D3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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