#2B3C76#2B3C76

#2B3C76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.101 H 268.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2B3C76
RGBrgb(43, 60, 118)
HSLhsl(226, 47%, 32%)
HSVhsv(226, 64%, 46%)
CMYKcmyk(63.6%, 49.2%, 0%, 53.7%)
CIE-LABlab(26.88, 12.91, -35.42)
CIE-LCHlch(26.88, 37.70, 290.03°)
OKLaboklab(37.44% -0.0021 -0.1012)
OKLCHoklch(37.44% 0.101 268.8)
XYZxyz(5.8810, 5.0528, 17.8014)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C76 #76652B
analogous
#2B6276 #2B3C76 #402B76
triadic
#2B3C76 #762B3C #3C762B
tetradic
#2B3C76 #762B62 #76652B #2B7640
square
#2B3C76 #762B62 #76652B #2B7640
split-complementary
#2B3C76 #76402B #62762B
monochromatic
#0A0E1C #1B2549 #2B3C76 #3B53A3 #5971C2

Accessibility & contrast

On white

10.44
#2B3C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B3C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C76
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C76#FFFFFF#000000##FFFFFF
##2B3C761.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#133C75
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3c76;
/* rgb */ color: rgb(43, 60, 118);
/* oklch */ color: oklch(37.4% 0.101 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c719e',
    500: '#2b3c76',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c76;
$custom-light: #6c719e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c76",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 118
  },
  "hsl": {
    "h": 226.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37438,
    "c": 0.10122,
    "h": 268.8
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#2B3C76
secondary
#A89555
accent
#B852D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3C76

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

Preview Lab → · Contrast checker → · Palette generator →

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