#2B3595#2B3595

#2B3595 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.156 H 272.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3595
RGBrgb(43, 53, 149)
HSLhsl(234, 55%, 38%)
HSVhsv(234, 71%, 58%)
CMYKcmyk(71.1%, 64.4%, 0%, 41.6%)
CIE-LABlab(27.38, 29.31, -53.94)
CIE-LCHlch(27.38, 61.38, 298.52°)
OKLaboklab(38.57% 0.0059 -0.1557)
OKLCHoklch(38.57% 0.156 272.2)
XYZxyz(7.6924, 5.2290, 29.0318)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3595 #958B2B
analogous
#2B6A95 #2B3595 #562B95
triadic
#2B3595 #952B35 #35952B
tetradic
#2B3595 #952B6A #958B2B #2B9556
square
#2B3595 #952B6A #958B2B #2B9556
split-complementary
#2B3595 #95562B #6A952B
monochromatic
#101336 #1D2466 #2B3595 #3946C4 #6771D3

Accessibility & contrast

On white

10.26
#2B3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3595
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3595#FFFFFF#000000##FFFFFF
##2B35951.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3595;
/* rgb */ color: rgb(43, 53, 149);
/* oklch */ color: oklch(38.6% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#736cb5',
    500: '#2b3595',
    950: '#000000',
  },
}
SCSS
$custom: #2b3595;
$custom-light: #736cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3595",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 234.34,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.15583,
    "h": 272.2
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#2B3595
secondary
#BAB162
accent
#D049DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3595

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

Preview Lab → · Contrast checker → · Palette generator →

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