#2D358A#2D358A

#2D358A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.140 H 273.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2D358A
RGBrgb(45, 53, 138)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 67%, 54%)
CMYKcmyk(67.4%, 61.6%, 0%, 45.9%)
CIE-LABlab(26.56, 25.55, -48.48)
CIE-LCHlch(26.56, 54.80, 297.79°)
OKLaboklab(37.7% 0.0086 -0.1396)
OKLCHoklch(37.7% 0.14 273.5)
XYZxyz(6.9412, 4.9385, 24.6273)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358A #8A822D
analogous
#2D638A #2D358A #532D8A
triadic
#2D358A #8A2D35 #358A2D
tetradic
#2D358A #8A2D63 #8A822D #2D8A53
square
#2D358A #8A2D63 #8A822D #2D8A53
split-complementary
#2D358A #8A532D #638A2D
monochromatic
#0F122E #1E235C #2D358A #3C47B8 #656ECD

Accessibility & contrast

On white

10.56
#2D358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D358A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358A#FFFFFF#000000##FFFFFF
##2D358A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d358a;
/* rgb */ color: rgb(45, 53, 138);
/* oklch */ color: oklch(37.7% 0.140 273.5);
Tailwind
colors: {
  custom: {
    50: '#726cad',
    500: '#2d358a',
    950: '#000000',
  },
}
SCSS
$custom: #2d358a;
$custom-light: #726cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358a",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 234.839,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.1399,
    "h": 273.5
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#2D358A
secondary
#B3AC60
accent
#CE4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D358A

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

Preview Lab → · Contrast checker → · Palette generator →

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