#2B4897#2B4897

#2B4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.134 H 265.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4897
RGBrgb(43, 72, 151)
HSLhsl(224, 56%, 38%)
HSVhsv(224, 72%, 59%)
CMYKcmyk(71.5%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.66, 17.28, -46.57)
CIE-LCHlch(32.66, 49.68, 290.36°)
OKLaboklab(42.57% -0.0099 -0.1338)
OKLCHoklch(42.57% 0.134 265.8)
XYZxyz(8.8976, 7.3818, 30.2281)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4897 #977A2B
analogous
#2B7E97 #2B4897 #442B97
triadic
#2B4897 #972B48 #48972B
tetradic
#2B4897 #972B7E #977A2B #2B9744
square
#2B4897 #972B7E #977A2B #2B9744
split-complementary
#2B4897 #97442B #7E972B
monochromatic
#101B38 #1D3167 #2B4897 #395FC7 #6885D4

Accessibility & contrast

On white

8.48
#2B4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4897
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4897#FFFFFF#000000##FFFFFF
##2B48971.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4897;
/* rgb */ color: rgb(43, 72, 151);
/* oklch */ color: oklch(42.6% 0.134 265.8);
Tailwind
colors: {
  custom: {
    50: '#727ab6',
    500: '#2b4897',
    950: '#000000',
  },
}
SCSS
$custom: #2b4897;
$custom-light: #727ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4897",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 223.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42568,
    "c": 0.13419,
    "h": 265.8
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#2B4897
secondary
#BBA363
accent
#B749DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4897

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

Preview Lab → · Contrast checker → · Palette generator →

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