#2B3495#2B3495

#2B3495 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.157 H 272.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2B3495
RGBrgb(43, 52, 149)
HSLhsl(235, 55%, 38%)
HSVhsv(235, 71%, 58%)
CMYKcmyk(71.1%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.13, 29.96, -54.35)
CIE-LCHlch(27.13, 62.06, 298.87°)
OKLaboklab(38.38% 0.0066 -0.1569)
OKLCHoklch(38.38% 0.157 272.4)
XYZxyz(7.6472, 5.1388, 29.0168)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3495 #958C2B
analogous
#2B6995 #2B3495 #572B95
triadic
#2B3495 #952B34 #34952B
tetradic
#2B3495 #952B69 #958C2B #2B9557
square
#2B3495 #952B69 #958C2B #2B9557
split-complementary
#2B3495 #95572B #69952B
monochromatic
#101336 #1D2366 #2B3495 #3945C4 #6770D3

Accessibility & contrast

On white

10.36
#2B3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B3495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3495
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3495#FFFFFF#000000##FFFFFF
##2B34951.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3495;
/* rgb */ color: rgb(43, 52, 149);
/* oklch */ color: oklch(38.4% 0.157 272.4);
Tailwind
colors: {
  custom: {
    50: '#736bb5',
    500: '#2b3495',
    950: '#000000',
  },
}
SCSS
$custom: #2b3495;
$custom-light: #736bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3495",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 234.906,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.15707,
    "h": 272.4
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#2B3495
secondary
#BAB262
accent
#D249DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3495

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

Preview Lab → · Contrast checker → · Palette generator →

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