#2B35A2#2B35A2

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

Color values

HEX#2B35A2
RGBrgb(43, 53, 162)
HSLhsl(235, 58%, 40%)
HSVhsv(235, 73%, 64%)
CMYKcmyk(73.5%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.56, 34.04, -59.93)
CIE-LCHlch(28.56, 68.92, 299.60°)
OKLaboklab(39.79% 0.005 -0.1733)
OKLCHoklch(39.79% 0.173 271.6)
XYZxyz(8.7887, 5.6675, 34.8062)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A2 #A2982B
analogous
#2B70A2 #2B35A2 #5C2BA2
triadic
#2B35A2 #A22B35 #35A22B
tetradic
#2B35A2 #A22B70 #A2982B #2BA25C
square
#2B35A2 #A22B70 #A2982B #2BA25C
split-complementary
#2B35A2 #A25C2B #70A22B
monochromatic
#111541 #1E2572 #2B35A2 #3E4ACC #6F78D9

Accessibility & contrast

On white

9.84
#2B35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35A2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A2#FFFFFF#000000##FFFFFF
##2B35A21.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b35a2;
/* rgb */ color: rgb(43, 53, 162);
/* oklch */ color: oklch(39.8% 0.173 271.6);
Tailwind
colors: {
  custom: {
    50: '#766cbf',
    500: '#2b35a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a2;
$custom-light: #766cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a2",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 234.958,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.17333,
    "h": 271.6
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#2B35A2
secondary
#C0B869
accent
#D447E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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