#2B4F95#2B4F95

#2B4F95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.122 H 262.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2B4F95
RGBrgb(43, 79, 149)
HSLhsl(220, 55%, 38%)
HSVhsv(220, 71%, 58%)
CMYKcmyk(71.1%, 47%, 0%, 41.6%)
CIE-LABlab(34.55, 11.82, -42.32)
CIE-LCHlch(34.55, 43.94, 285.60°)
OKLaboklab(43.97% -0.0167 -0.1212)
OKLCHoklch(43.97% 0.122 262.1)
XYZxyz(9.2151, 8.2745, 29.5394)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F95 #95712B
analogous
#2B8495 #2B4F95 #3C2B95
triadic
#2B4F95 #952B4F #4F952B
tetradic
#2B4F95 #952B84 #95712B #2B953C
square
#2B4F95 #952B84 #95712B #2B953C
split-complementary
#2B4F95 #953C2B #84952B
monochromatic
#101D36 #1D3666 #2B4F95 #3968C4 #678CD3

Accessibility & contrast

On white

7.91
#2B4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B4F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F95
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F95#FFFFFF#000000##FFFFFF
##2B4F951.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#154D94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4f95;
/* rgb */ color: rgb(43, 79, 149);
/* oklch */ color: oklch(44.0% 0.122 262.1);
Tailwind
colors: {
  custom: {
    50: '#727fb5',
    500: '#2b4f95',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f95;
$custom-light: #727fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f95",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 219.623,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.12234,
    "h": 262.1
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#2B4F95
secondary
#BA9C62
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4F95

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

Preview Lab → · Contrast checker → · Palette generator →

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