#2A458D#2A458D

#2A458D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.124 H 265.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2A458D
RGBrgb(42, 69, 141)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 55%)
CMYKcmyk(70.2%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.05, 15.32, -43.07)
CIE-LCHlch(31.05, 45.72, 289.58°)
OKLaboklab(41.1% -0.0092 -0.1236)
OKLCHoklch(41.1% 0.124 265.7)
XYZxyz(7.8890, 6.6708, 26.0660)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A458D #8D722A
analogous
#2A768D #2A458D #402A8D
triadic
#2A458D #8D2A45 #458D2A
tetradic
#2A458D #8D2A76 #8D722A #2A8D40
square
#2A458D #8D2A76 #8D722A #2A8D40
split-complementary
#2A458D #8D402A #768D2A
monochromatic
#0E172F #1C2E5E #2A458D #385CBC #6180D0

Accessibility & contrast

On white

9.00
#2A458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A458D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A458D#FFFFFF#000000##FFFFFF
##2A458D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a458d;
/* rgb */ color: rgb(42, 69, 141);
/* oklch */ color: oklch(41.1% 0.124 265.7);
Tailwind
colors: {
  custom: {
    50: '#7078af',
    500: '#2a458d',
    950: '#000000',
  },
}
SCSS
$custom: #2a458d;
$custom-light: #7078af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a458d",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 223.636,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.12393,
    "h": 265.7
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#2A458D
secondary
#B69E5D
accent
#B54ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A458D

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

Preview Lab → · Contrast checker → · Palette generator →

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