#2B3597#2B3597

#2B3597 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.159 H 272.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2B3597
RGBrgb(43, 53, 151)
HSLhsl(234, 56%, 38%)
HSVhsv(234, 72%, 59%)
CMYKcmyk(71.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.55, 30.04, -54.87)
CIE-LCHlch(27.55, 62.56, 298.70°)
OKLaboklab(38.75% 0.0058 -0.1585)
OKLCHoklch(38.75% 0.159 272.1)
XYZxyz(7.8534, 5.2934, 29.8800)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3597 #978D2B
analogous
#2B6B97 #2B3597 #572B97
triadic
#2B3597 #972B35 #35972B
tetradic
#2B3597 #972B6B #978D2B #2B9757
square
#2B3597 #972B6B #978D2B #2B9757
split-complementary
#2B3597 #97572B #6B972B
monochromatic
#101438 #1D2467 #2B3597 #3946C7 #6872D4

Accessibility & contrast

On white

10.20
#2B3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3597
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3597#FFFFFF#000000##FFFFFF
##2B35971.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3597;
/* rgb */ color: rgb(43, 53, 151);
/* oklch */ color: oklch(38.8% 0.159 272.1);
Tailwind
colors: {
  custom: {
    50: '#746cb6',
    500: '#2b3597',
    950: '#000000',
  },
}
SCSS
$custom: #2b3597;
$custom-light: #746cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3597",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 234.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.15857,
    "h": 272.1
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#2B3597
secondary
#BBB263
accent
#D149DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3597

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

Preview Lab → · Contrast checker → · Palette generator →

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