#2B3497#2B3497

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

Color values

HEX#2B3497
RGBrgb(43, 52, 151)
HSLhsl(235, 56%, 38%)
HSVhsv(235, 72%, 59%)
CMYKcmyk(71.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.31, 30.69, -55.28)
CIE-LCHlch(27.31, 63.23, 299.04°)
OKLaboklab(38.57% 0.0065 -0.1597)
OKLCHoklch(38.57% 0.16 272.3)
XYZxyz(7.8083, 5.2032, 29.8650)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3497 #978E2B
analogous
#2B6A97 #2B3497 #582B97
triadic
#2B3497 #972B34 #34972B
tetradic
#2B3497 #972B6A #978E2B #2B9758
square
#2B3497 #972B6A #978E2B #2B9758
split-complementary
#2B3497 #97582B #6A972B
monochromatic
#101338 #1D2467 #2B3497 #3944C7 #6871D4

Accessibility & contrast

On white

10.29
#2B3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3497
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3497#FFFFFF#000000##FFFFFF
##2B34971.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3497;
/* rgb */ color: rgb(43, 52, 151);
/* oklch */ color: oklch(38.6% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#746bb6',
    500: '#2b3497',
    950: '#000000',
  },
}
SCSS
$custom: #2b3497;
$custom-light: #746bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3497",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 235,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.15979,
    "h": 272.3
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#2B3497
secondary
#BBB363
accent
#D249DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3497

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

Preview Lab → · Contrast checker → · Palette generator →

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