#2D35AF#2D35AF

#2D35AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.190 H 271.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2D35AF
RGBrgb(45, 53, 175)
HSLhsl(236, 59%, 43%)
HSVhsv(236, 74%, 69%)
CMYKcmyk(74.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(29.91, 38.88, -65.52)
CIE-LCHlch(29.91, 76.19, 300.68°)
OKLaboklab(41.18% 0.0058 -0.1896)
OKLCHoklch(41.18% 0.19 271.8)
XYZxyz(10.0905, 6.1982, 41.2137)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D35AF #AFA72D
analogous
#2D76AF #2D35AF #662DAF
triadic
#2D35AF #AF2D35 #35AF2D
tetradic
#2D35AF #AF2D76 #AFA72D #2DAF66
square
#2D35AF #AF2D76 #AFA72D #2DAF66
split-complementary
#2D35AF #AF662D #76AF2D
monochromatic
#14184E #20267E #2D35AF #4951D0 #7A80DD

Accessibility & contrast

On white

9.38
#2D35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D35AF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D35AF#FFFFFF#000000##FFFFFF
##2D35AF1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d35af;
/* rgb */ color: rgb(45, 53, 175);
/* oklch */ color: oklch(41.2% 0.190 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a6dc8',
    500: '#2d35af',
    950: '#000000',
  },
}
SCSS
$custom: #2d35af;
$custom-light: #7a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d35af",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 236.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41178,
    "c": 0.18966,
    "h": 271.8
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#2D35AF
secondary
#C5C073
accent
#D946E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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