#2B35AA#2B35AA

#2B35AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.184 H 271.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2B35AA
RGBrgb(43, 53, 170)
HSLhsl(235, 60%, 42%)
HSVhsv(235, 75%, 67%)
CMYKcmyk(74.7%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.31, 36.91, -63.51)
CIE-LCHlch(29.31, 73.45, 300.16°)
OKLaboklab(40.57% 0.0042 -0.1837)
OKLCHoklch(40.57% 0.184 271.3)
XYZxyz(9.5226, 5.9611, 38.6712)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35AA #AAA02B
analogous
#2B74AA #2B35AA #612BAA
triadic
#2B35AA #AA2B35 #35AA2B
tetradic
#2B35AA #AA2B74 #AAA02B #2BAA61
square
#2B35AA #AA2B74 #AAA02B #2BAA61
split-complementary
#2B35AA #AA612B #74AA2B
monochromatic
#121748 #1F2679 #2B35AA #434ECF #747CDC

Accessibility & contrast

On white

9.58
#2B35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35AA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35AA#FFFFFF#000000##FFFFFF
##2B35AA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b35aa;
/* rgb */ color: rgb(43, 53, 170);
/* oklch */ color: oklch(40.6% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#786dc4',
    500: '#2b35aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b35aa;
$custom-light: #786dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35aa",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 235.276,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.18378,
    "h": 271.3
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#2B35AA
secondary
#C3BC6E
accent
#D645E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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