#2D35A9#2D35A9

#2D35A9 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.182 H 272.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2D35A9
RGBrgb(45, 53, 169)
HSLhsl(236, 58%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(73.4%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.33, 36.77, -62.88)
CIE-LCHlch(29.33, 72.84, 300.32°)
OKLaboklab(40.59% 0.0065 -0.1818)
OKLCHoklch(40.59% 0.182 272)
XYZxyz(9.5143, 5.9677, 38.1789)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35A9 #A9A12D
analogous
#2D73A9 #2D35A9 #632DA9
triadic
#2D35A9 #A92D35 #35A92D
tetradic
#2D35A9 #A92D73 #A9A12D #2DA963
square
#2D35A9 #A92D73 #A9A12D #2DA963
split-complementary
#2D35A9 #A9632D #73A92D
monochromatic
#131748 #202679 #2D35A9 #464ECE #767CDA

Accessibility & contrast

On white

9.57
#2D35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35A9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35A9#FFFFFF#000000##FFFFFF
##2D35A91.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d35a9;
/* rgb */ color: rgb(45, 53, 169);
/* oklch */ color: oklch(40.6% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2d35a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d35a9;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35a9",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 236.129,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40587,
    "c": 0.18195,
    "h": 272
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#2D35A9
secondary
#C2BD6F
accent
#D747E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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