#2A48AF#2A48AF

#2A48AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.168 H 266.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2A48AF
RGBrgb(42, 72, 175)
HSLhsl(226, 61%, 43%)
HSVhsv(226, 76%, 69%)
CMYKcmyk(76%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.44, 26.31, -58.11)
CIE-LCHlch(34.44, 63.79, 294.36°)
OKLaboklab(44.47% -0.0092 -0.1678)
OKLCHoklch(44.47% 0.168 266.9)
XYZxyz(11.0074, 8.2209, 41.5558)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48AF #AF912A
analogous
#2A8BAF #2A48AF #4E2AAF
triadic
#2A48AF #AF2A48 #48AF2A
tetradic
#2A48AF #AF2A8B #AF912A #2AAF4E
square
#2A48AF #AF2A8B #AF912A #2AAF4E
split-complementary
#2A48AF #AF4E2A #8BAF2A
monochromatic
#121F4C #1E347E #2A48AF #4464D2 #758DDE

Accessibility & contrast

On white

7.94
#2A48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48AF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48AF#FFFFFF#000000##FFFFFF
##2A48AF1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a48af;
/* rgb */ color: rgb(42, 72, 175);
/* oklch */ color: oklch(44.5% 0.168 266.9);
Tailwind
colors: {
  custom: {
    50: '#787ac8',
    500: '#2a48af',
    950: '#000000',
  },
}
SCSS
$custom: #2a48af;
$custom-light: #787ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48af",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 226.466,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.16802,
    "h": 266.9
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#2A48AF
secondary
#C6B26F
accent
#C043E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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