#2B35A4#2B35A4

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

Color values

HEX#2B35A4
RGBrgb(43, 53, 164)
HSLhsl(235, 58%, 41%)
HSVhsv(235, 74%, 64%)
CMYKcmyk(73.8%, 67.7%, 0%, 35.7%)
CIE-LABlab(28.74, 34.76, -60.83)
CIE-LCHlch(28.74, 70.06, 299.75°)
OKLaboklab(39.99% 0.0048 -0.1759)
OKLCHoklch(39.99% 0.176 271.6)
XYZxyz(8.9679, 5.7392, 35.7499)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35A4 #A49A2B
analogous
#2B71A4 #2B35A4 #5D2BA4
triadic
#2B35A4 #A42B35 #35A42B
tetradic
#2B35A4 #A42B71 #A49A2B #2BA45D
square
#2B35A4 #A42B71 #A49A2B #2BA45D
split-complementary
#2B35A4 #A45D2B #71A42B
monochromatic
#121643 #1E2574 #2B35A4 #3F4BCD #7079D9

Accessibility & contrast

On white

9.78
#2B35A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B35A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35A4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35A4#FFFFFF#000000##FFFFFF
##2B35A41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b35a4;
/* rgb */ color: rgb(43, 53, 164);
/* oklch */ color: oklch(40.0% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#776cc0',
    500: '#2b35a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b35a4;
$custom-light: #776cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35a4",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 235.041,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.17596,
    "h": 271.6
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#2B35A4
secondary
#C1B96A
accent
#D546E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B35A4

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

Preview Lab → · Contrast checker → · Palette generator →

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