#2A458E#2A458E

#2A458E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.125 H 265.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2A458E
RGBrgb(42, 69, 142)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 56%)
CMYKcmyk(70.4%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.12, 15.71, -43.57)
CIE-LCHlch(31.12, 46.32, 289.82°)
OKLaboklab(41.18% -0.0091 -0.1251)
OKLCHoklch(41.18% 0.125 265.8)
XYZxyz(7.9637, 6.7007, 26.4596)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A458E #8E732A
analogous
#2A778E #2A458E #412A8E
triadic
#2A458E #8E2A45 #458E2A
tetradic
#2A458E #8E2A77 #8E732A #2A8E41
square
#2A458E #8E2A77 #8E732A #2A8E41
split-complementary
#2A458E #8E412A #778E2A
monochromatic
#0E1730 #1C2E5F #2A458E #385CBD #6280D1

Accessibility & contrast

On white

8.97
#2A458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A458E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A458E#FFFFFF#000000##FFFFFF
##2A458E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a458e;
/* rgb */ color: rgb(42, 69, 142);
/* oklch */ color: oklch(41.2% 0.125 265.8);
Tailwind
colors: {
  custom: {
    50: '#7078b0',
    500: '#2a458e',
    950: '#000000',
  },
}
SCSS
$custom: #2a458e;
$custom-light: #7078b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a458e",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 223.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.12539,
    "h": 265.8
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#2A458E
secondary
#B69E5D
accent
#B64ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A458E

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

Preview Lab → · Contrast checker → · Palette generator →

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