#2B4197#2B4197

#2B4197 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.143 H 268.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2B4197
RGBrgb(43, 65, 151)
HSLhsl(228, 56%, 38%)
HSVhsv(228, 72%, 59%)
CMYKcmyk(71.5%, 57%, 0%, 40.8%)
CIE-LABlab(30.71, 22.02, -49.74)
CIE-LCHlch(30.71, 54.39, 293.88°)
OKLaboklab(41.09% -0.0038 -0.1432)
OKLCHoklch(41.09% 0.143 268.5)
XYZxyz(8.4705, 6.5277, 30.0857)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4197 #97812B
analogous
#2B7797 #2B4197 #4B2B97
triadic
#2B4197 #972B41 #41972B
tetradic
#2B4197 #972B77 #97812B #2B974B
square
#2B4197 #972B77 #97812B #2B974B
split-complementary
#2B4197 #974B2B #77972B
monochromatic
#101838 #1D2C67 #2B4197 #3956C7 #687ED4

Accessibility & contrast

On white

9.11
#2B4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B4197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4197
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4197#FFFFFF#000000##FFFFFF
##2B41971.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4197;
/* rgb */ color: rgb(43, 65, 151);
/* oklch */ color: oklch(41.1% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#7375b6',
    500: '#2b4197',
    950: '#000000',
  },
}
SCSS
$custom: #2b4197;
$custom-light: #7375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4197",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 227.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.14329,
    "h": 268.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#2B4197
secondary
#BBA963
accent
#C049DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4197

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

Preview Lab → · Contrast checker → · Palette generator →

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