#2B3B99#2B3B99

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

Color values

HEX#2B3B99
RGBrgb(43, 59, 153)
HSLhsl(231, 56%, 38%)
HSVhsv(231, 72%, 60%)
CMYKcmyk(71.9%, 61.4%, 0%, 40%)
CIE-LABlab(29.26, 26.80, -53.31)
CIE-LCHlch(29.26, 59.67, 296.69°)
OKLaboklab(40.07% 0.0012 -0.1538)
OKLCHoklch(40.07% 0.154 270.4)
XYZxyz(8.3080, 5.9406, 30.8396)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B99 #99892B
analogous
#2B7299 #2B3B99 #522B99
triadic
#2B3B99 #992B3B #3B992B
tetradic
#2B3B99 #992B72 #99892B #2B9952
square
#2B3B99 #992B72 #99892B #2B9952
split-complementary
#2B3B99 #99522B #72992B
monochromatic
#101639 #1E2969 #2B3B99 #3A4EC8 #6979D5

Accessibility & contrast

On white

9.60
#2B3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B3B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B99
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B99#FFFFFF#000000##FFFFFF
##2B3B991.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3b99;
/* rgb */ color: rgb(43, 59, 153);
/* oklch */ color: oklch(40.1% 0.154 270.4);
Tailwind
colors: {
  custom: {
    50: '#7470b8',
    500: '#2b3b99',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b99;
$custom-light: #7470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b99",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 231.273,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.15381,
    "h": 270.4
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#2B3B99
secondary
#BCAF64
accent
#C948DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3B99

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

Preview Lab → · Contrast checker → · Palette generator →

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