#2A48AB#2A48AB

#2A48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.163 H 266.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2A48AB
RGBrgb(42, 72, 171)
HSLhsl(226, 61%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(75.4%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.12, 24.79, -56.25)
CIE-LCHlch(34.12, 61.47, 293.79°)
OKLaboklab(44.13% -0.0093 -0.1623)
OKLCHoklch(44.13% 0.163 266.7)
XYZxyz(10.6203, 8.0661, 39.5174)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48AB #AB8D2A
analogous
#2A88AB #2A48AB #4D2AAB
triadic
#2A48AB #AB2A48 #48AB2A
tetradic
#2A48AB #AB2A88 #AB8D2A #2AAB4D
square
#2A48AB #AB2A88 #AB8D2A #2AAB4D
split-complementary
#2A48AB #AB4D2A #88AB2A
monochromatic
#121F49 #1E337A #2A48AB #4263D1 #738BDD

Accessibility & contrast

On white

8.04
#2A48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48AB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48AB#FFFFFF#000000##FFFFFF
##2A48AB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a48ab;
/* rgb */ color: rgb(42, 72, 171);
/* oklch */ color: oklch(44.1% 0.163 266.7);
Tailwind
colors: {
  custom: {
    50: '#777ac5',
    500: '#2a48ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a48ab;
$custom-light: #777ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48ab",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 226.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.16256,
    "h": 266.7
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#2A48AB
secondary
#C4B06D
accent
#BF44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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