#2B48AB#2B48AB

#2B48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 267.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2B48AB
RGBrgb(43, 72, 171)
HSLhsl(226, 60%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(74.9%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.16, 24.91, -56.17)
CIE-LCHlch(34.16, 61.45, 293.92°)
OKLaboklab(44.18% -0.0085 -0.1621)
OKLCHoklch(44.18% 0.162 267)
XYZxyz(10.6617, 8.0874, 39.5193)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48AB #AB8E2B
analogous
#2B88AB #2B48AB #4E2BAB
triadic
#2B48AB #AB2B48 #48AB2B
tetradic
#2B48AB #AB2B88 #AB8E2B #2BAB4E
square
#2B48AB #AB2B88 #AB8E2B #2BAB4E
split-complementary
#2B48AB #AB4E2B #88AB2B
monochromatic
#121F49 #1F337A #2B48AB #4363D0 #748CDC

Accessibility & contrast

On white

8.02
#2B48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48AB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48AB#FFFFFF#000000##FFFFFF
##2B48AB1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b48ab;
/* rgb */ color: rgb(43, 72, 171);
/* oklch */ color: oklch(44.2% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#777ac5',
    500: '#2b48ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b48ab;
$custom-light: #777ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48ab",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 226.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.16228,
    "h": 267
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#2B48AB
secondary
#C4B06E
accent
#BF45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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