#2D35A2#2D35A2

#2D35A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.173 H 272.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2D35A2
RGBrgb(45, 53, 162)
HSLhsl(236, 57%, 41%)
HSVhsv(236, 72%, 64%)
CMYKcmyk(72.2%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.67, 34.28, -59.73)
CIE-LCHlch(28.67, 68.87, 299.85°)
OKLaboklab(39.91% 0.0072 -0.1726)
OKLCHoklch(39.91% 0.173 272.4)
XYZxyz(8.8747, 5.7118, 34.8102)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35A2 #A29A2D
analogous
#2D70A2 #2D35A2 #5F2DA2
triadic
#2D35A2 #A22D35 #35A22D
tetradic
#2D35A2 #A22D70 #A29A2D #2DA25F
square
#2D35A2 #A22D70 #A29A2D #2DA25F
split-complementary
#2D35A2 #A25F2D #70A22D
monochromatic
#121642 #202572 #2D35A2 #424BCA #7279D8

Accessibility & contrast

On white

9.80
#2D35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35A2
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35A2#FFFFFF#000000##FFFFFF
##2D35A21.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d35a2;
/* rgb */ color: rgb(45, 53, 162);
/* oklch */ color: oklch(39.9% 0.173 272.4);
Tailwind
colors: {
  custom: {
    50: '#776cbf',
    500: '#2d35a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d35a2;
$custom-light: #776cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35a2",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 235.897,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39909,
    "c": 0.17279,
    "h": 272.4
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#2D35A2
secondary
#BFB96C
accent
#D548E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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