#2B4C97#2B4C97

#2B4C97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.129 H 264.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2B4C97
RGBrgb(43, 76, 151)
HSLhsl(222, 56%, 38%)
HSVhsv(222, 72%, 59%)
CMYKcmyk(71.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.81, 14.59, -44.72)
CIE-LCHlch(33.81, 47.04, 288.07°)
OKLaboklab(43.44% -0.0136 -0.1283)
OKLCHoklch(43.44% 0.129 264)
XYZxyz(9.1646, 7.9159, 30.3171)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C97 #97762B
analogous
#2B8297 #2B4C97 #402B97
triadic
#2B4C97 #972B4C #4C972B
tetradic
#2B4C97 #972B82 #97762B #2B9740
square
#2B4C97 #972B82 #97762B #2B9740
split-complementary
#2B4C97 #97402B #82972B
monochromatic
#101C38 #1D3467 #2B4C97 #3964C7 #6889D4

Accessibility & contrast

On white

8.13
#2B4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C97
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C97#FFFFFF#000000##FFFFFF
##2B4C971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#024B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4c97;
/* rgb */ color: rgb(43, 76, 151);
/* oklch */ color: oklch(43.4% 0.129 264.0);
Tailwind
colors: {
  custom: {
    50: '#727db6',
    500: '#2b4c97',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c97;
$custom-light: #727db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c97",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 221.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.12903,
    "h": 264
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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