#2B49A5#2B49A5

#2B49A5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.153 H 266.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2B49A5
RGBrgb(43, 73, 165)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 65%)
CMYKcmyk(73.9%, 55.8%, 0%, 35.3%)
CIE-LABlab(33.97, 21.97, -52.90)
CIE-LCHlch(33.97, 57.28, 292.55°)
OKLaboklab(43.89% -0.0096 -0.1524)
OKLCHoklch(43.89% 0.153 266.4)
XYZxyz(10.1680, 7.9942, 36.5972)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49A5 #A5872B
analogous
#2B86A5 #2B49A5 #4A2BA5
triadic
#2B49A5 #A52B49 #49A52B
tetradic
#2B49A5 #A52B86 #A5872B #2BA54A
square
#2B49A5 #A52B86 #A5872B #2BA54A
split-complementary
#2B49A5 #A54A2B #86A52B
monochromatic
#121E44 #1E3474 #2B49A5 #4063CD #718ADA

Accessibility & contrast

On white

8.08
#2B49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B49A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49A5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49A5#FFFFFF#000000##FFFFFF
##2B49A51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b49a5;
/* rgb */ color: rgb(43, 73, 165);
/* oklch */ color: oklch(43.9% 0.153 266.4);
Tailwind
colors: {
  custom: {
    50: '#767bc0',
    500: '#2b49a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b49a5;
$custom-light: #767bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49a5",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 225.246,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43886,
    "c": 0.15272,
    "h": 266.4
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#2B49A5
secondary
#C1AC6B
accent
#BC46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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