#2D359E#2D359E

#2D359E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.167 H 272.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2D359E
RGBrgb(45, 53, 158)
HSLhsl(236, 56%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(71.5%, 66.5%, 0%, 38%)
CIE-LABlab(28.31, 32.84, -57.91)
CIE-LCHlch(28.31, 66.57, 299.56°)
OKLaboklab(39.53% 0.0075 -0.1673)
OKLCHoklch(39.53% 0.167 272.6)
XYZxyz(8.5248, 5.5719, 32.9673)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D359E #9E962D
analogous
#2D6E9E #2D359E #5D2D9E
triadic
#2D359E #9E2D35 #359E2D
tetradic
#2D359E #9E2D6E #9E962D #2D9E5D
square
#2D359E #9E2D6E #9E962D #2D9E5D
split-complementary
#2D359E #9E5D2D #6E9E2D
monochromatic
#12153F #1F256E #2D359E #4049C9 #6F77D6

Accessibility & contrast

On white

9.93
#2D359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D359E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D359E#FFFFFF#000000##FFFFFF
##2D359E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d359e;
/* rgb */ color: rgb(45, 53, 158);
/* oklch */ color: oklch(39.5% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2d359e',
    950: '#000000',
  },
}
SCSS
$custom: #2d359e;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d359e",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 235.752,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.16748,
    "h": 272.6
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D359E

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

Preview Lab → · Contrast checker → · Palette generator →

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