#2A48A5#2A48A5

#2A48A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.154 H 266.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A48A5
RGBrgb(42, 72, 165)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(74.5%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.65, 22.50, -53.42)
CIE-LCHlch(33.65, 57.97, 292.85°)
OKLaboklab(43.63% -0.0096 -0.154)
OKLCHoklch(43.63% 0.154 266.4)
XYZxyz(10.0614, 7.8425, 36.5735)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A5 #A5872A
analogous
#2A85A5 #2A48A5 #4A2AA5
triadic
#2A48A5 #A52A48 #48A52A
tetradic
#2A48A5 #A52A85 #A5872A #2AA54A
square
#2A48A5 #A52A85 #A5872A #2AA54A
split-complementary
#2A48A5 #A54A2A #85A52A
monochromatic
#111D43 #1E3374 #2A48A5 #3E61CE #6F89DA

Accessibility & contrast

On white

8.18
#2A48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A5
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A5#FFFFFF#000000##FFFFFF
##2A48A51.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a48a5;
/* rgb */ color: rgb(42, 72, 165);
/* oklch */ color: oklch(43.6% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#757ac0',
    500: '#2a48a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a5;
$custom-light: #757ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a5",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 225.366,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43634,
    "c": 0.15428,
    "h": 266.4
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#2A48A5
secondary
#C1AC69
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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