#2B3E77#2B3E77

#2B3E77 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.100 H 267.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2B3E77
RGBrgb(43, 62, 119)
HSLhsl(225, 47%, 32%)
HSVhsv(225, 64%, 47%)
CMYKcmyk(63.9%, 47.9%, 0%, 53.3%)
CIE-LABlab(27.55, 11.91, -34.99)
CIE-LCHlch(27.55, 36.97, 288.80°)
OKLaboklab(37.96% -0.0042 -0.0999)
OKLCHoklch(37.96% 0.1 267.6)
XYZxyz(6.0475, 5.2902, 18.1516)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E77 #77642B
analogous
#2B6477 #2B3E77 #3E2B77
triadic
#2B3E77 #772B3E #3E772B
tetradic
#2B3E77 #772B64 #77642B #2B773E
square
#2B3E77 #772B64 #77642B #2B773E
split-complementary
#2B3E77 #773E2B #64772B
monochromatic
#0B0F1D #1B274A #2B3E77 #3B55A4 #5974C3

Accessibility & contrast

On white

10.20
#2B3E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B3E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E77
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E77#FFFFFF#000000##FFFFFF
##2B3E771.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#163E76
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3e77;
/* rgb */ color: rgb(43, 62, 119);
/* oklch */ color: oklch(38.0% 0.100 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c729f',
    500: '#2b3e77',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e77;
$custom-light: #6c729f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e77",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 225,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37965,
    "c": 0.10001,
    "h": 267.6
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#2B3E77
secondary
#A99455
accent
#B551D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B3E77

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

Preview Lab → · Contrast checker → · Palette generator →

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