#2B4D95#2B4D95

#2B4D95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.125 H 263.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2B4D95
RGBrgb(43, 77, 149)
HSLhsl(221, 55%, 38%)
HSVhsv(221, 71%, 58%)
CMYKcmyk(71.1%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.96, 13.15, -43.26)
CIE-LCHlch(33.96, 45.22, 286.91°)
OKLaboklab(43.52% -0.0148 -0.124)
OKLCHoklch(43.52% 0.125 263.2)
XYZxyz(9.0730, 7.9903, 29.4921)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D95 #95732B
analogous
#2B8295 #2B4D95 #3E2B95
triadic
#2B4D95 #952B4D #4D952B
tetradic
#2B4D95 #952B82 #95732B #2B953E
square
#2B4D95 #952B82 #95732B #2B953E
split-complementary
#2B4D95 #953E2B #82952B
monochromatic
#101C36 #1D3466 #2B4D95 #3966C4 #678AD3

Accessibility & contrast

On white

8.08
#2B4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D95
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D95#FFFFFF#000000##FFFFFF
##2B4D951.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#0E4B94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4d95;
/* rgb */ color: rgb(43, 77, 149);
/* oklch */ color: oklch(43.5% 0.125 263.2);
Tailwind
colors: {
  custom: {
    50: '#727eb5',
    500: '#2b4d95',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d95;
$custom-light: #727eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d95",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 220.755,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.12487,
    "h": 263.2
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#2B4D95
secondary
#BA9E62
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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