#2D35A5#2D35A5

#2D35A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.177 H 272.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2D35A5
RGBrgb(45, 53, 165)
HSLhsl(236, 57%, 41%)
HSVhsv(236, 73%, 65%)
CMYKcmyk(72.7%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.95, 35.35, -61.09)
CIE-LCHlch(28.95, 70.58, 300.05°)
OKLaboklab(40.2% 0.0069 -0.1766)
OKLCHoklch(40.2% 0.177 272.2)
XYZxyz(9.1445, 5.8198, 36.2314)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35A5 #A59D2D
analogous
#2D71A5 #2D35A5 #612DA5
triadic
#2D35A5 #A52D35 #35A52D
tetradic
#2D35A5 #A52D71 #A59D2D #2DA561
square
#2D35A5 #A52D71 #A59D2D #2DA561
split-complementary
#2D35A5 #A5612D #71A52D
monochromatic
#131645 #202675 #2D35A5 #434CCC #737AD9

Accessibility & contrast

On white

9.70
#2D35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D35A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35A5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35A5#FFFFFF#000000##FFFFFF
##2D35A51.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d35a5;
/* rgb */ color: rgb(45, 53, 165);
/* oklch */ color: oklch(40.2% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#786cc1',
    500: '#2d35a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d35a5;
$custom-light: #786cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35a5",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 236,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17673,
    "h": 272.2
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#2D35A5
secondary
#C1BB6D
accent
#D647E0
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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