#2B3B9E#2B3B9E

#2B3B9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.161 H 270.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2B3B9E
RGBrgb(43, 59, 158)
HSLhsl(232, 57%, 39%)
HSVhsv(232, 73%, 62%)
CMYKcmyk(72.8%, 62.7%, 0%, 38%)
CIE-LABlab(29.69, 28.67, -55.65)
CIE-LCHlch(29.69, 62.60, 297.25°)
OKLaboklab(40.51% 0.0011 -0.1607)
OKLCHoklch(40.51% 0.161 270.4)
XYZxyz(8.7297, 6.1093, 33.0603)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B9E #9E8E2B
analogous
#2B759E #2B3B9E #552B9E
triadic
#2B3B9E #9E2B3B #3B9E2B
tetradic
#2B3B9E #9E2B75 #9E8E2B #2B9E55
square
#2B3B9E #9E2B75 #9E8E2B #2B9E55
split-complementary
#2B3B9E #9E552B #759E2B
monochromatic
#11173E #1E296E #2B3B9E #3C50CA #6C7BD7

Accessibility & contrast

On white

9.45
#2B3B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B3B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B9E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B9E#FFFFFF#000000##FFFFFF
##2B3B9E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3b9e;
/* rgb */ color: rgb(43, 59, 158);
/* oklch */ color: oklch(40.5% 0.161 270.4);
Tailwind
colors: {
  custom: {
    50: '#7570bc',
    500: '#2b3b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b9e;
$custom-light: #7570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b9e",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 231.652,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.1607,
    "h": 270.4
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#2B3B9E
secondary
#BEB267
accent
#CB47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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