#2B3A99#2B3A99

#2B3A99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.155 H 270.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B3A99
RGBrgb(43, 58, 153)
HSLhsl(232, 56%, 38%)
HSVhsv(232, 72%, 60%)
CMYKcmyk(71.9%, 62.1%, 0%, 40%)
CIE-LABlab(29.00, 27.47, -53.73)
CIE-LCHlch(29.00, 60.35, 297.08°)
OKLaboklab(39.87% 0.0019 -0.1551)
OKLCHoklch(39.87% 0.155 270.7)
XYZxyz(8.2571, 5.8388, 30.8227)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A99 #998A2B
analogous
#2B7199 #2B3A99 #532B99
triadic
#2B3A99 #992B3A #3A992B
tetradic
#2B3A99 #992B71 #998A2B #2B9953
square
#2B3A99 #992B71 #998A2B #2B9953
split-complementary
#2B3A99 #99532B #71992B
monochromatic
#101639 #1E2869 #2B3A99 #3A4DC8 #6978D5

Accessibility & contrast

On white

9.69
#2B3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B3A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A99
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A99#FFFFFF#000000##FFFFFF
##2B3A991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3a99;
/* rgb */ color: rgb(43, 58, 153);
/* oklch */ color: oklch(39.9% 0.155 270.7);
Tailwind
colors: {
  custom: {
    50: '#7470b8',
    500: '#2b3a99',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a99;
$custom-light: #7470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a99",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 231.818,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.15508,
    "h": 270.7
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#2B3A99
secondary
#BCB064
accent
#CB48DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3A99

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

Preview Lab → · Contrast checker → · Palette generator →

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