#2B4B95#2B4B95

#2B4B95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.127 H 264.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B4B95
RGBrgb(43, 75, 149)
HSLhsl(222, 55%, 38%)
HSVhsv(222, 71%, 58%)
CMYKcmyk(71.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.38, 14.50, -44.20)
CIE-LCHlch(33.38, 46.51, 288.16°)
OKLaboklab(43.07% -0.0129 -0.1268)
OKLCHoklch(43.07% 0.127 264.2)
XYZxyz(8.9352, 7.7148, 29.4461)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B95 #95752B
analogous
#2B8095 #2B4B95 #402B95
triadic
#2B4B95 #952B4B #4B952B
tetradic
#2B4B95 #952B80 #95752B #2B9540
square
#2B4B95 #952B80 #95752B #2B9540
split-complementary
#2B4B95 #95402B #80952B
monochromatic
#101B36 #1D3366 #2B4B95 #3963C4 #6788D3

Accessibility & contrast

On white

8.26
#2B4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B95
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B95#FFFFFF#000000##FFFFFF
##2B4B951.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#034A93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4b95;
/* rgb */ color: rgb(43, 75, 149);
/* oklch */ color: oklch(43.1% 0.127 264.2);
Tailwind
colors: {
  custom: {
    50: '#727cb5',
    500: '#2b4b95',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b95;
$custom-light: #727cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b95",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 221.887,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.12743,
    "h": 264.2
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#2B4B95
secondary
#BA9F62
accent
#B149DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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