#2B4A97#2B4A97

#2B4A97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.132 H 264.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2B4A97
RGBrgb(43, 74, 151)
HSLhsl(223, 56%, 38%)
HSVhsv(223, 72%, 59%)
CMYKcmyk(71.5%, 51%, 0%, 40.8%)
CIE-LABlab(33.23, 15.94, -45.65)
CIE-LCHlch(33.23, 48.35, 289.24°)
OKLaboklab(43% -0.0117 -0.1311)
OKLCHoklch(43% 0.132 264.9)
XYZxyz(9.0290, 7.6446, 30.2719)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A97 #97782B
analogous
#2B8097 #2B4A97 #422B97
triadic
#2B4A97 #972B4A #4A972B
tetradic
#2B4A97 #972B80 #97782B #2B9742
square
#2B4A97 #972B80 #97782B #2B9742
split-complementary
#2B4A97 #97422B #80972B
monochromatic
#101B38 #1D3367 #2B4A97 #3961C7 #6887D4

Accessibility & contrast

On white

8.30
#2B4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A97
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A97#FFFFFF#000000##FFFFFF
##2B4A971.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4a97;
/* rgb */ color: rgb(43, 74, 151);
/* oklch */ color: oklch(43.0% 0.132 264.9);
Tailwind
colors: {
  custom: {
    50: '#727cb6',
    500: '#2b4a97',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a97;
$custom-light: #727cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a97",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 222.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.13161,
    "h": 264.9
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#2B4A97
secondary
#BBA263
accent
#B449DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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