#2B3A76#2B3A76

#2B3A76 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.104 H 270.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3A76
RGBrgb(43, 58, 118)
HSLhsl(228, 47%, 32%)
HSVhsv(228, 64%, 46%)
CMYKcmyk(63.6%, 50.8%, 0%, 53.7%)
CIE-LABlab(26.29, 14.30, -36.37)
CIE-LCHlch(26.29, 39.08, 291.46°)
OKLaboklab(36.99% 0.0002 -0.104)
OKLCHoklch(36.99% 0.104 270.1)
XYZxyz(5.7782, 4.8472, 17.7671)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A76 #76672B
analogous
#2B6076 #2B3A76 #422B76
triadic
#2B3A76 #762B3A #3A762B
tetradic
#2B3A76 #762B60 #76672B #2B7642
square
#2B3A76 #762B60 #76672B #2B7642
split-complementary
#2B3A76 #76422B #60762B
monochromatic
#0A0E1C #1B2449 #2B3A76 #3B50A3 #596EC2

Accessibility & contrast

On white

10.66
#2B3A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A76
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A76#FFFFFF#000000##FFFFFF
##2B3A761.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#0D3B75
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3a76;
/* rgb */ color: rgb(43, 58, 118);
/* oklch */ color: oklch(37.0% 0.104 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c6f9e',
    500: '#2b3a76',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a76;
$custom-light: #6c6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a76",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 228,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3699,
    "c": 0.10401,
    "h": 270.1
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#2B3A76
secondary
#A89755
accent
#BC52D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3A76

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

Preview Lab → · Contrast checker → · Palette generator →

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