#2B4E9B#2B4E9B

#2B4E9B is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.132 H 263.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2B4E9B
RGBrgb(43, 78, 155)
HSLhsl(221, 57%, 39%)
HSVhsv(221, 72%, 61%)
CMYKcmyk(72.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.66, 14.79, -45.78)
CIE-LCHlch(34.66, 48.11, 287.90°)
OKLaboklab(44.18% -0.0149 -0.1314)
OKLCHoklch(44.18% 0.132 263.5)
XYZxyz(9.6350, 8.3279, 32.1037)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E9B #9B782B
analogous
#2B869B #2B4E9B #402B9B
triadic
#2B4E9B #9B2B4E #4E9B2B
tetradic
#2B4E9B #9B2B86 #9B782B #2B9B40
square
#2B4E9B #9B2B86 #9B782B #2B9B40
split-complementary
#2B4E9B #9B402B #869B2B
monochromatic
#101E3B #1E366B #2B4E9B #3B67C9 #6B8CD6

Accessibility & contrast

On white

7.88
#2B4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E9B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E9B#FFFFFF#000000##FFFFFF
##2B4E9B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4e9b;
/* rgb */ color: rgb(43, 78, 155);
/* oklch */ color: oklch(44.2% 0.132 263.5);
Tailwind
colors: {
  custom: {
    50: '#737fb9',
    500: '#2b4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e9b;
$custom-light: #737fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e9b",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 221.25,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.13221,
    "h": 263.5
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#2B4E9B
secondary
#BCA165
accent
#B048E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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