#2B4F92#2B4F92

#2B4F92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.118 H 261.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2B4F92
RGBrgb(43, 79, 146)
HSLhsl(219, 54%, 37%)
HSVhsv(219, 71%, 57%)
CMYKcmyk(70.5%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.35, 10.67, -40.81)
CIE-LCHlch(34.35, 42.18, 284.65°)
OKLaboklab(43.76% -0.0173 -0.1167)
OKLCHoklch(43.76% 0.118 261.6)
XYZxyz(8.9787, 8.1800, 28.2943)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F92 #926E2B
analogous
#2B8392 #2B4F92 #3B2B92
triadic
#2B4F92 #922B4F #4F922B
tetradic
#2B4F92 #922B83 #926E2B #2B923B
square
#2B4F92 #922B83 #926E2B #2B923B
split-complementary
#2B4F92 #923B2B #83922B
monochromatic
#0F1C33 #1D3563 #2B4F92 #3969C1 #668BD2

Accessibility & contrast

On white

7.97
#2B4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F92
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F92#FFFFFF#000000##FFFFFF
##2B4F921.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4f92;
/* rgb */ color: rgb(43, 79, 146);
/* oklch */ color: oklch(43.8% 0.118 261.6);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2b4f92',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f92;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f92",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 219.029,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.11801,
    "h": 261.6
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#2B4F92
secondary
#B89A61
accent
#AA4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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