#2B4E95#2B4E95

#2B4E95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.124 H 262.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4E95
RGBrgb(43, 78, 149)
HSLhsl(220, 55%, 38%)
HSVhsv(220, 71%, 58%)
CMYKcmyk(71.1%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.26, 12.48, -42.79)
CIE-LCHlch(34.26, 44.58, 286.27°)
OKLaboklab(43.74% -0.0158 -0.1226)
OKLCHoklch(43.74% 0.124 262.7)
XYZxyz(9.1435, 8.1314, 29.5156)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E95 #95722B
analogous
#2B8395 #2B4E95 #3D2B95
triadic
#2B4E95 #952B4E #4E952B
tetradic
#2B4E95 #952B83 #95722B #2B953D
square
#2B4E95 #952B83 #95722B #2B953D
split-complementary
#2B4E95 #953D2B #83952B
monochromatic
#101C36 #1D3566 #2B4E95 #3967C4 #678BD3

Accessibility & contrast

On white

8.00
#2B4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E95
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E95#FFFFFF#000000##FFFFFF
##2B4E951.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#124C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4e95;
/* rgb */ color: rgb(43, 78, 149);
/* oklch */ color: oklch(43.7% 0.124 262.7);
Tailwind
colors: {
  custom: {
    50: '#727fb5',
    500: '#2b4e95',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e95;
$custom-light: #727fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e95",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 220.189,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.1236,
    "h": 262.7
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#2B4E95
secondary
#BA9D62
accent
#AD49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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