#2B35B2#2B35B2

#2B35B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.194 H 271.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B35B2
RGBrgb(43, 53, 178)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 76%, 70%)
CMYKcmyk(75.8%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.09, 39.73, -67.02)
CIE-LCHlch(30.09, 77.91, 300.66°)
OKLaboklab(41.37% 0.0033 -0.194)
OKLCHoklch(41.37% 0.194 271)
XYZxyz(10.3025, 6.2730, 42.7787)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B2 #B2A82B
analogous
#2B78B2 #2B35B2 #652BB2
triadic
#2B35B2 #B22B35 #35B22B
tetradic
#2B35B2 #B22B78 #B2A82B #2BB265
square
#2B35B2 #B22B78 #B2A82B #2BB265
split-complementary
#2B35B2 #B2652B #78B22B
monochromatic
#13184F #1F2681 #2B35B2 #4852D3 #7980DF

Accessibility & contrast

On white

9.31
#2B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B2
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B2#FFFFFF#000000##FFFFFF
##2B35B21.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b35b2;
/* rgb */ color: rgb(43, 53, 178);
/* oklch */ color: oklch(41.4% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a6dca',
    500: '#2b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b2;
$custom-light: #7a6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b2",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 235.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.19399,
    "h": 271
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#2B35B2
secondary
#C7C072
accent
#D844E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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