#2B49A2#2B49A2

#2B49A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.149 H 266.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2B49A2
RGBrgb(43, 73, 162)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(73.5%, 54.9%, 0%, 36.5%)
CIE-LABlab(33.74, 20.82, -51.47)
CIE-LCHlch(33.74, 55.52, 292.03°)
OKLaboklab(43.64% -0.0098 -0.1482)
OKLCHoklch(43.64% 0.149 266.2)
XYZxyz(9.8981, 7.8863, 35.1760)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49A2 #A2842B
analogous
#2B84A2 #2B49A2 #482BA2
triadic
#2B49A2 #A22B49 #49A22B
tetradic
#2B49A2 #A22B84 #A2842B #2BA248
square
#2B49A2 #A22B84 #A2842B #2BA248
split-complementary
#2B49A2 #A2482B #84A22B
monochromatic
#111D41 #1E3372 #2B49A2 #3E62CC #6F89D9

Accessibility & contrast

On white

8.15
#2B49A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B49A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49A2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49A2#FFFFFF#000000##FFFFFF
##2B49A21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b49a2;
/* rgb */ color: rgb(43, 73, 162);
/* oklch */ color: oklch(43.6% 0.149 266.2);
Tailwind
colors: {
  custom: {
    50: '#757bbe',
    500: '#2b49a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b49a2;
$custom-light: #757bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49a2",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 224.874,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.14852,
    "h": 266.2
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#2B49A2
secondary
#C0AA69
accent
#BA47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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