#2D358C#2D358C

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

Color values

HEX#2D358C
RGBrgb(45, 53, 140)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 68%, 55%)
CMYKcmyk(67.9%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.73, 26.29, -49.45)
CIE-LCHlch(26.73, 56.00, 298.00°)
OKLaboklab(37.88% 0.0085 -0.1425)
OKLCHoklch(37.88% 0.143 273.4)
XYZxyz(7.0873, 4.9969, 25.3969)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358C #8C842D
analogous
#2D658C #2D358C #552D8C
triadic
#2D358C #8C2D35 #358C2D
tetradic
#2D358C #8C2D65 #8C842D #2D8C55
square
#2D358C #8C2D65 #8C842D #2D8C55
split-complementary
#2D358C #8C552D #658C2D
monochromatic
#0F122F #1E235E #2D358C #3C47BA #666ECE

Accessibility & contrast

On white

10.50
#2D358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D358C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358C#FFFFFF#000000##FFFFFF
##2D358C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d358c;
/* rgb */ color: rgb(45, 53, 140);
/* oklch */ color: oklch(37.9% 0.143 273.4);
Tailwind
colors: {
  custom: {
    50: '#726cae',
    500: '#2d358c',
    950: '#000000',
  },
}
SCSS
$custom: #2d358c;
$custom-light: #726cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358c",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 234.947,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3788,
    "c": 0.14275,
    "h": 273.4
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D358C

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

Preview Lab → · Contrast checker → · Palette generator →

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