#2A548E#2A548E

#2A548E is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.6% C 0.107 H 257.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2A548E
RGBrgb(42, 84, 142)
HSLhsl(215, 54%, 36%)
HSVhsv(215, 70%, 56%)
CMYKcmyk(70.4%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.57, 5.67, -36.44)
CIE-LCHlch(35.57, 36.88, 278.85°)
OKLaboklab(44.6% -0.024 -0.1039)
OKLCHoklch(44.6% 0.107 257)
XYZxyz(9.0059, 8.7850, 26.8070)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A548E #8E642A
analogous
#2A868E #2A548E #322A8E
triadic
#2A548E #8E2A54 #548E2A
tetradic
#2A548E #8E2A86 #8E642A #2A8E32
square
#2A548E #8E2A86 #8E642A #2A8E32
split-complementary
#2A548E #8E322A #868E2A
monochromatic
#0E1C30 #1C385F #2A548E #3870BD #6290D1

Accessibility & contrast

On white

7.62
#2A548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A548E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A548E#FFFFFF#000000##FFFFFF
##2A548E1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a548e;
/* rgb */ color: rgb(42, 84, 142);
/* oklch */ color: oklch(44.6% 0.107 257.0);
Tailwind
colors: {
  custom: {
    50: '#7083af',
    500: '#2a548e',
    950: '#000000',
  },
}
SCSS
$custom: #2a548e;
$custom-light: #7083af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a548e",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 214.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.10659,
    "h": 257
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#2A548E
secondary
#B6915D
accent
#A04ADE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A548E

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

Preview Lab → · Contrast checker → · Palette generator →

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