#2B3B97#2B3B97

#2B3B97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.151 H 270.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2B3B97
RGBrgb(43, 59, 151)
HSLhsl(231, 56%, 38%)
HSVhsv(231, 72%, 59%)
CMYKcmyk(71.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.10, 26.06, -52.36)
CIE-LCHlch(29.10, 58.48, 296.46°)
OKLaboklab(39.89% 0.0012 -0.151)
OKLCHoklch(39.89% 0.151 270.4)
XYZxyz(8.1442, 5.8751, 29.9770)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B97 #97872B
analogous
#2B7197 #2B3B97 #512B97
triadic
#2B3B97 #972B3B #3B972B
tetradic
#2B3B97 #972B71 #97872B #2B9751
square
#2B3B97 #972B71 #97872B #2B9751
split-complementary
#2B3B97 #97512B #71972B
monochromatic
#101638 #1D2867 #2B3B97 #394EC7 #6878D4

Accessibility & contrast

On white

9.65
#2B3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B3B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B97
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B97#FFFFFF#000000##FFFFFF
##2B3B971.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3b97;
/* rgb */ color: rgb(43, 59, 151);
/* oklch */ color: oklch(39.9% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#7370b6',
    500: '#2b3b97',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b97;
$custom-light: #7370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b97",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 231.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.15102,
    "h": 270.4
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#2B3B97
secondary
#BBAE63
accent
#C949DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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