#2A548F#2A548F

#2A548F is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.108 H 257.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2A548F
RGBrgb(42, 84, 143)
HSLhsl(215, 55%, 36%)
HSVhsv(215, 71%, 56%)
CMYKcmyk(70.6%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.63, 6.06, -36.96)
CIE-LCHlch(35.63, 37.45, 279.31°)
OKLaboklab(44.67% -0.0237 -0.1054)
OKLCHoklch(44.67% 0.108 257.3)
XYZxyz(9.0813, 8.8151, 27.2042)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A548F #8F652A
analogous
#2A878F #2A548F #332A8F
triadic
#2A548F #8F2A54 #548F2A
tetradic
#2A548F #8F2A87 #8F652A #2A8F33
square
#2A548F #8F2A87 #8F652A #2A8F33
split-complementary
#2A548F #8F332A #878F2A
monochromatic
#0E1C30 #1C3860 #2A548F #3870BE #6290D1

Accessibility & contrast

On white

7.60
#2A548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A548F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A548F#FFFFFF#000000##FFFFFF
##2A548F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a548f;
/* rgb */ color: rgb(42, 84, 143);
/* oklch */ color: oklch(44.7% 0.108 257.3);
Tailwind
colors: {
  custom: {
    50: '#7083b0',
    500: '#2a548f',
    950: '#000000',
  },
}
SCSS
$custom: #2a548f;
$custom-light: #7083b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a548f",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 215.05,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.10801,
    "h": 257.3
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#2A548F
secondary
#B7925E
accent
#A04ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A548F

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

Preview Lab → · Contrast checker → · Palette generator →

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