#2B4698#2B4698

#2B4698 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.138 H 266.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2B4698
RGBrgb(43, 70, 152)
HSLhsl(225, 56%, 38%)
HSVhsv(225, 72%, 60%)
CMYKcmyk(71.7%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.17, 19.02, -47.98)
CIE-LCHlch(32.17, 51.61, 291.62°)
OKLaboklab(42.22% -0.008 -0.138)
OKLCHoklch(42.22% 0.138 266.7)
XYZxyz(8.8519, 7.1600, 30.6152)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4698 #987D2B
analogous
#2B7C98 #2B4698 #472B98
triadic
#2B4698 #982B46 #46982B
tetradic
#2B4698 #982B7C #987D2B #2B9847
square
#2B4698 #982B7C #987D2B #2B9847
split-complementary
#2B4698 #98472B #7C982B
monochromatic
#101A39 #1E3068 #2B4698 #395CC7 #6984D5

Accessibility & contrast

On white

8.63
#2B4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4698
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4698#FFFFFF#000000##FFFFFF
##2B46981.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4698;
/* rgb */ color: rgb(43, 70, 152);
/* oklch */ color: oklch(42.2% 0.138 266.7);
Tailwind
colors: {
  custom: {
    50: '#7379b7',
    500: '#2b4698',
    950: '#000000',
  },
}
SCSS
$custom: #2b4698;
$custom-light: #7379b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4698",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 225.138,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.13822,
    "h": 266.7
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#2B4698
secondary
#BBA564
accent
#BA49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4698

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

Preview Lab → · Contrast checker → · Palette generator →

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