#2B48A2#2B48A2

#2B48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.150 H 266.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2B48A2
RGBrgb(43, 72, 162)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(73.5%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.47, 21.49, -51.91)
CIE-LCHlch(33.47, 56.19, 292.49°)
OKLaboklab(43.44% -0.0089 -0.1495)
OKLCHoklch(43.44% 0.15 266.6)
XYZxyz(9.8329, 7.7559, 35.1542)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48A2 #A2852B
analogous
#2B84A2 #2B48A2 #492BA2
triadic
#2B48A2 #A22B48 #48A22B
tetradic
#2B48A2 #A22B84 #A2852B #2BA249
square
#2B48A2 #A22B84 #A2852B #2BA249
split-complementary
#2B48A2 #A2492B #84A22B
monochromatic
#111D41 #1E3372 #2B48A2 #3E61CC #6F89D9

Accessibility & contrast

On white

8.23
#2B48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48A2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48A2#FFFFFF#000000##FFFFFF
##2B48A21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b48a2;
/* rgb */ color: rgb(43, 72, 162);
/* oklch */ color: oklch(43.4% 0.150 266.6);
Tailwind
colors: {
  custom: {
    50: '#757abe',
    500: '#2b48a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b48a2;
$custom-light: #757abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48a2",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 225.378,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.1498,
    "h": 266.6
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#2B48A2
secondary
#C0AB69
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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