#2B35A3#2B35A3

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

Color values

HEX#2B35A3
RGBrgb(43, 53, 163)
HSLhsl(235, 58%, 40%)
HSVhsv(235, 74%, 64%)
CMYKcmyk(73.6%, 67.5%, 0%, 36.1%)
CIE-LABlab(28.65, 34.40, -60.38)
CIE-LCHlch(28.65, 69.49, 299.67°)
OKLaboklab(39.89% 0.0049 -0.1746)
OKLCHoklch(39.89% 0.175 271.6)
XYZxyz(8.8780, 5.7032, 35.2762)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A3 #A3992B
analogous
#2B71A3 #2B35A3 #5D2BA3
triadic
#2B35A3 #A32B35 #35A32B
tetradic
#2B35A3 #A32B71 #A3992B #2BA35D
square
#2B35A3 #A32B71 #A3992B #2BA35D
split-complementary
#2B35A3 #A35D2B #71A32B
monochromatic
#111642 #1E2573 #2B35A3 #3F4BCC #6F78D9

Accessibility & contrast

On white

9.81
#2B35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B35A3
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A3#FFFFFF#000000##FFFFFF
##2B35A31.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.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: #2b35a3;
/* rgb */ color: rgb(43, 53, 163);
/* oklch */ color: oklch(39.9% 0.175 271.6);
Tailwind
colors: {
  custom: {
    50: '#776cbf',
    500: '#2b35a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a3;
$custom-light: #776cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a3",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 235,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.17465,
    "h": 271.6
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#2B35A3
secondary
#C0B96A
accent
#D546E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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