#2D35A8#2D35A8

#2D35A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.181 H 272.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2D35A8
RGBrgb(45, 53, 168)
HSLhsl(236, 58%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(73.2%, 68.5%, 0%, 34.1%)
CIE-LABlab(29.24, 36.41, -62.43)
CIE-LCHlch(29.24, 72.27, 300.25°)
OKLaboklab(40.49% 0.0066 -0.1805)
OKLCHoklch(40.49% 0.181 272.1)
XYZxyz(9.4208, 5.9303, 37.6864)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35A8 #A8A02D
analogous
#2D72A8 #2D35A8 #632DA8
triadic
#2D35A8 #A82D35 #35A82D
tetradic
#2D35A8 #A82D72 #A8A02D #2DA863
square
#2D35A8 #A82D72 #A8A02D #2DA863
split-complementary
#2D35A8 #A8632D #72A82D
monochromatic
#131747 #202678 #2D35A8 #454ECD #757CDA

Accessibility & contrast

On white

9.61
#2D35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D35A8
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35A8#FFFFFF#000000##FFFFFF
##2D35A81.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d35a8;
/* rgb */ color: rgb(45, 53, 168);
/* oklch */ color: oklch(40.5% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#796dc3',
    500: '#2d35a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d35a8;
$custom-light: #796dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35a8",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 236.098,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.18065,
    "h": 272.1
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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