#2B4498#2B4498

#2B4498 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.141 H 267.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B4498
RGBrgb(43, 68, 152)
HSLhsl(226, 56%, 38%)
HSVhsv(226, 72%, 60%)
CMYKcmyk(71.7%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.61, 20.37, -48.88)
CIE-LCHlch(31.61, 52.95, 292.62°)
OKLaboklab(41.8% -0.0063 -0.1407)
OKLCHoklch(41.8% 0.141 267.4)
XYZxyz(8.7289, 6.9139, 30.5742)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4498 #987F2B
analogous
#2B7A98 #2B4498 #492B98
triadic
#2B4498 #982B44 #44982B
tetradic
#2B4498 #982B7A #987F2B #2B9849
square
#2B4498 #982B7A #987F2B #2B9849
split-complementary
#2B4498 #98492B #7A982B
monochromatic
#101939 #1E2F68 #2B4498 #395AC7 #6982D5

Accessibility & contrast

On white

8.81
#2B4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4498
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4498#FFFFFF#000000##FFFFFF
##2B44981.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4498;
/* rgb */ color: rgb(43, 68, 152);
/* oklch */ color: oklch(41.8% 0.141 267.4);
Tailwind
colors: {
  custom: {
    50: '#7377b7',
    500: '#2b4498',
    950: '#000000',
  },
}
SCSS
$custom: #2b4498;
$custom-light: #7377b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4498",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 226.239,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.14082,
    "h": 267.4
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#2B4498
secondary
#BBA764
accent
#BD49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4498

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

Preview Lab → · Contrast checker → · Palette generator →

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