#2B4C95#2B4C95

#2B4C95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.126 H 263.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2B4C95
RGBrgb(43, 76, 149)
HSLhsl(221, 55%, 38%)
HSVhsv(221, 71%, 58%)
CMYKcmyk(71.1%, 49%, 0%, 41.6%)
CIE-LABlab(33.67, 13.82, -43.73)
CIE-LCHlch(33.67, 45.86, 287.54°)
OKLaboklab(43.29% -0.0139 -0.1254)
OKLCHoklch(43.29% 0.126 263.7)
XYZxyz(9.0036, 7.8515, 29.4689)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C95 #95742B
analogous
#2B8195 #2B4C95 #3F2B95
triadic
#2B4C95 #952B4C #4C952B
tetradic
#2B4C95 #952B81 #95742B #2B953F
square
#2B4C95 #952B81 #95742B #2B953F
split-complementary
#2B4C95 #953F2B #81952B
monochromatic
#101C36 #1D3466 #2B4C95 #3964C4 #6789D3

Accessibility & contrast

On white

8.17
#2B4C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B4C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C95
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C95#FFFFFF#000000##FFFFFF
##2B4C951.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#084B94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4c95;
/* rgb */ color: rgb(43, 76, 149);
/* oklch */ color: oklch(43.3% 0.126 263.7);
Tailwind
colors: {
  custom: {
    50: '#727db5',
    500: '#2b4c95',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c95;
$custom-light: #727db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c95",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 221.321,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43294,
    "c": 0.12615,
    "h": 263.7
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4C95

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

Preview Lab → · Contrast checker → · Palette generator →

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