#2D358B#2D358B

#2D358B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.141 H 273.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D358B
RGBrgb(45, 53, 139)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 68%, 55%)
CMYKcmyk(67.6%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.64, 25.92, -48.96)
CIE-LCHlch(26.64, 55.40, 297.89°)
OKLaboklab(37.79% 0.0086 -0.1411)
OKLCHoklch(37.79% 0.141 273.5)
XYZxyz(7.0139, 4.9676, 25.0103)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358B #8B832D
analogous
#2D648B #2D358B #542D8B
triadic
#2D358B #8B2D35 #358B2D
tetradic
#2D358B #8B2D64 #8B832D #2D8B54
square
#2D358B #8B2D64 #8B832D #2D8B54
split-complementary
#2D358B #8B542D #648B2D
monochromatic
#0F122F #1E235D #2D358B #3C47B9 #656ECD

Accessibility & contrast

On white

10.53
#2D358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D358B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358B#FFFFFF#000000##FFFFFF
##2D358B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d358b;
/* rgb */ color: rgb(45, 53, 139);
/* oklch */ color: oklch(37.8% 0.141 273.5);
Tailwind
colors: {
  custom: {
    50: '#726cae',
    500: '#2d358b',
    950: '#000000',
  },
}
SCSS
$custom: #2d358b;
$custom-light: #726cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358b",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 234.894,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37792,
    "c": 0.14133,
    "h": 273.5
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#2D358B
secondary
#B4AD60
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D358B

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

Preview Lab → · Contrast checker → · Palette generator →

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