#2D358E#2D358E

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

Color values

HEX#2D358E
RGBrgb(45, 53, 142)
HSLhsl(235, 52%, 37%)
HSVhsv(235, 68%, 56%)
CMYKcmyk(68.3%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.89, 27.02, -50.41)
CIE-LCHlch(26.89, 57.20, 298.19°)
OKLaboklab(38.06% 0.0085 -0.1453)
OKLCHoklch(38.06% 0.146 273.3)
XYZxyz(7.2361, 5.0564, 26.1806)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D358E #8E862D
analogous
#2D668E #2D358E #562D8E
triadic
#2D358E #8E2D35 #358E2D
tetradic
#2D358E #8E2D66 #8E862D #2D8E56
square
#2D358E #8E2D66 #8E862D #2D8E56
split-complementary
#2D358E #8E562D #668E2D
monochromatic
#101231 #1E2460 #2D358E #3C46BC #676FCF

Accessibility & contrast

On white

10.44
#2D358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D358E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D358E#FFFFFF#000000##FFFFFF
##2D358E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d358e;
/* rgb */ color: rgb(45, 53, 142);
/* oklch */ color: oklch(38.1% 0.146 273.3);
Tailwind
colors: {
  custom: {
    50: '#736cb0',
    500: '#2d358e',
    950: '#000000',
  },
}
SCSS
$custom: #2d358e;
$custom-light: #736cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d358e",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 235.052,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.14556,
    "h": 273.3
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#2D358E
secondary
#B5AE61
accent
#D04CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D358E

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

Preview Lab → · Contrast checker → · Palette generator →

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