#2D358D#2D358D

#2D358D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.144 H 273.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2D358D
RGBrgb(45, 53, 141)
HSLhsl(235, 52%, 36%)
HSVhsv(235, 68%, 55%)
CMYKcmyk(68.1%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.81, 26.66, -49.93)
CIE-LCHlch(26.81, 56.60, 298.10°)
OKLaboklab(37.97% 0.0085 -0.1439)
OKLCHoklch(37.97% 0.144 273.4)
XYZxyz(7.1614, 5.0265, 25.7870)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358D #8D852D
analogous
#2D658D #2D358D #552D8D
triadic
#2D358D #8D2D35 #358D2D
tetradic
#2D358D #8D2D65 #8D852D #2D8D55
square
#2D358D #8D2D65 #8D852D #2D8D55
split-complementary
#2D358D #8D552D #658D2D
monochromatic
#0F1230 #1E245F #2D358D #3C46BB #666FCE

Accessibility & contrast

On white

10.47
#2D358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D358D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358D#FFFFFF#000000##FFFFFF
##2D358D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d358d;
/* rgb */ color: rgb(45, 53, 141);
/* oklch */ color: oklch(38.0% 0.144 273.4);
Tailwind
colors: {
  custom: {
    50: '#726caf',
    500: '#2d358d',
    950: '#000000',
  },
}
SCSS
$custom: #2d358d;
$custom-light: #726caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358d",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 235,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.14415,
    "h": 273.4
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#2D358D
secondary
#B5AE61
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D358D

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

Preview Lab → · Contrast checker → · Palette generator →

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