#2D358F#2D358F

#2D358F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.147 H 273.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2D358F
RGBrgb(45, 53, 143)
HSLhsl(235, 52%, 37%)
HSVhsv(235, 69%, 56%)
CMYKcmyk(68.5%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.98, 27.39, -50.89)
CIE-LCHlch(26.98, 57.79, 298.29°)
OKLaboklab(38.15% 0.0084 -0.1467)
OKLCHoklch(38.15% 0.147 273.3)
XYZxyz(7.3116, 5.0866, 26.5778)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358F #8F872D
analogous
#2D668F #2D358F #562D8F
triadic
#2D358F #8F2D35 #358F2D
tetradic
#2D358F #8F2D66 #8F872D #2D8F56
square
#2D358F #8F2D66 #8F872D #2D8F56
split-complementary
#2D358F #8F562D #668F2D
monochromatic
#101232 #1E2460 #2D358F #3C46BE #6770CF

Accessibility & contrast

On white

10.41
#2D358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D358F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358F#FFFFFF#000000##FFFFFF
##2D358F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d358f;
/* rgb */ color: rgb(45, 53, 143);
/* oklch */ color: oklch(38.1% 0.147 273.3);
Tailwind
colors: {
  custom: {
    50: '#736cb1',
    500: '#2d358f',
    950: '#000000',
  },
}
SCSS
$custom: #2d358f;
$custom-light: #736cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358f",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 235.102,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.14696,
    "h": 273.3
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#2D358F
secondary
#B6AF62
accent
#D04CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D358F

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

Preview Lab → · Contrast checker → · Palette generator →

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