#2B3877#2B3877

#2B3877 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.108 H 271.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2B3877
RGBrgb(43, 56, 119)
HSLhsl(230, 47%, 32%)
HSVhsv(230, 64%, 47%)
CMYKcmyk(63.9%, 52.9%, 0%, 53.3%)
CIE-LABlab(25.78, 16.06, -37.82)
CIE-LCHlch(25.78, 41.09, 293.00°)
OKLaboklab(36.62% 0.0025 -0.1083)
OKLCHoklch(36.62% 0.108 271.3)
XYZxyz(5.7391, 4.6734, 18.0488)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3877 #776A2B
analogous
#2B5E77 #2B3877 #442B77
triadic
#2B3877 #772B38 #38772B
tetradic
#2B3877 #772B5E #776A2B #2B7744
square
#2B3877 #772B5E #776A2B #2B7744
split-complementary
#2B3877 #77442B #5E772B
monochromatic
#0B0E1D #1B234A #2B3877 #3B4DA4 #596BC3

Accessibility & contrast

On white

10.85
#2B3877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B3877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3877
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3877#FFFFFF#000000##FFFFFF
##2B38771.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#033A76
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3877;
/* rgb */ color: rgb(43, 56, 119);
/* oklch */ color: oklch(36.6% 0.108 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d6e9f',
    500: '#2b3877',
    950: '#000000',
  },
}
SCSS
$custom: #2b3877;
$custom-light: #6d6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3877",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 229.737,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.10835,
    "h": 271.3
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#2B3877
secondary
#A99A55
accent
#C051D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3877

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

Preview Lab → · Contrast checker → · Palette generator →

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