#2B35B8#2B35B8

#2B35B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.202 H 270.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2B35B8
RGBrgb(43, 53, 184)
HSLhsl(236, 62%, 45%)
HSVhsv(236, 77%, 72%)
CMYKcmyk(76.6%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.69, 41.82, -69.60)
CIE-LCHlch(30.69, 81.20, 301.00°)
OKLaboklab(41.98% 0.0026 -0.2015)
OKLCHoklch(41.98% 0.202 270.7)
XYZxyz(10.9181, 6.5193, 46.0210)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B35B8 #B8AE2B
analogous
#2B7BB8 #2B35B8 #682BB8
triadic
#2B35B8 #B82B35 #35B82B
tetradic
#2B35B8 #B82B7B #B8AE2B #2BB868
square
#2B35B8 #B82B7B #B8AE2B #2BB868
split-complementary
#2B35B8 #B8682B #7BB82B
monochromatic
#141855 #1F2786 #2B35B8 #4B55D5 #7D84E1

Accessibility & contrast

On white

9.11
#2B35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B35B8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B35B8#FFFFFF#000000##FFFFFF
##2B35B81.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b35b8;
/* rgb */ color: rgb(43, 53, 184);
/* oklch */ color: oklch(42.0% 0.202 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c6dcf',
    500: '#2b35b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b35b8;
$custom-light: #7c6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b35b8",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 235.745,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.20152,
    "h": 270.7
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#2B35B8
secondary
#C9C376
accent
#DA43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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