#2D35A3#2D35A3

#2D35A3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.174 H 272.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D35A3
RGBrgb(45, 53, 163)
HSLhsl(236, 57%, 41%)
HSVhsv(236, 72%, 64%)
CMYKcmyk(72.4%, 67.5%, 0%, 36.1%)
CIE-LABlab(28.77, 34.63, -60.19)
CIE-LCHlch(28.77, 69.44, 299.92°)
OKLaboklab(40.01% 0.0071 -0.174)
OKLCHoklch(40.01% 0.174 272.3)
XYZxyz(8.9639, 5.7475, 35.2802)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35A3 #A39B2D
analogous
#2D70A3 #2D35A3 #602DA3
triadic
#2D35A3 #A32D35 #35A32D
tetradic
#2D35A3 #A32D70 #A39B2D #2DA360
square
#2D35A3 #A32D70 #A39B2D #2DA360
split-complementary
#2D35A3 #A3602D #70A32D
monochromatic
#131643 #202573 #2D35A3 #424CCB #7279D8

Accessibility & contrast

On white

9.77
#2D35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D35A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35A3
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35A3#FFFFFF#000000##FFFFFF
##2D35A31.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d35a3;
/* rgb */ color: rgb(45, 53, 163);
/* oklch */ color: oklch(40.0% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#776cbf',
    500: '#2d35a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d35a3;
$custom-light: #776cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35a3",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 235.932,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40005,
    "c": 0.17411,
    "h": 272.3
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2D35A3
secondary
#C0BA6C
accent
#D648E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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