#2B4D7D#2B4D7D

#2B4D7D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.090 H 257.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2B4D7D
RGBrgb(43, 77, 125)
HSLhsl(215, 49%, 33%)
HSVhsv(215, 66%, 49%)
CMYKcmyk(65.6%, 38.4%, 0%, 51%)
CIE-LABlab(32.48, 4.05, -30.89)
CIE-LCHlch(32.48, 31.15, 277.46°)
OKLaboklab(41.9% -0.0198 -0.0877)
OKLCHoklch(41.9% 0.09 257.2)
XYZxyz(7.3505, 7.3013, 20.4200)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D7D #7D5B2B
analogous
#2B767D #2B4D7D #322B7D
triadic
#2B4D7D #7D2B4D #4D7D2B
tetradic
#2B4D7D #7D2B76 #7D5B2B #2B7D32
square
#2B4D7D #7D2B76 #7D5B2B #2B7D32
split-complementary
#2B4D7D #7D322B #767D2B
monochromatic
#0C1522 #1B314F #2B4D7D #3B69AB #5C88C7

Accessibility & contrast

On white

8.54
#2B4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B4D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D7D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D7D#FFFFFF#000000##FFFFFF
##2B4D7D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4d7d;
/* rgb */ color: rgb(43, 77, 125);
/* oklch */ color: oklch(41.9% 0.090 257.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ea3',
    500: '#2b4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d7d;
$custom-light: #6d7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d7d",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 215.122,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.08989,
    "h": 257.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#2B4D7D
secondary
#AD8957
accent
#A04FD8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2B4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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