#2D359D#2D359D

#2D359D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.166 H 272.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2D359D
RGBrgb(45, 53, 157)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(71.3%, 66.2%, 0%, 38.4%)
CIE-LABlab(28.21, 32.48, -57.45)
CIE-LCHlch(28.21, 66.00, 299.48°)
OKLaboklab(39.43% 0.0076 -0.166)
OKLCHoklch(39.43% 0.166 272.6)
XYZxyz(8.4390, 5.5376, 32.5159)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D359D #9D952D
analogous
#2D6D9D #2D359D #5D2D9D
triadic
#2D359D #9D2D35 #359D2D
tetradic
#2D359D #9D2D6D #9D952D #2D9D5D
square
#2D359D #9D2D6D #9D952D #2D9D5D
split-complementary
#2D359D #9D5D2D #6D9D2D
monochromatic
#12153E #1F256D #2D359D #3F49C8 #6F76D6

Accessibility & contrast

On white

9.96
#2D359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D359D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D359D#FFFFFF#000000##FFFFFF
##2D359D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d359d;
/* rgb */ color: rgb(45, 53, 157);
/* oklch */ color: oklch(39.4% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#766cbb',
    500: '#2d359d',
    950: '#000000',
  },
}
SCSS
$custom: #2d359d;
$custom-light: #766cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d359d",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 235.714,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.16613,
    "h": 272.6
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#2D359D
secondary
#BDB769
accent
#D449DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D359D

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

Preview Lab → · Contrast checker → · Palette generator →

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