#2A458B#2A458B

#2A458B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.121 H 265.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2A458B
RGBrgb(42, 69, 139)
HSLhsl(223, 54%, 35%)
HSVhsv(223, 70%, 55%)
CMYKcmyk(69.8%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.91, 14.55, -42.07)
CIE-LCHlch(30.91, 44.51, 289.08°)
OKLaboklab(40.95% -0.0095 -0.1206)
OKLCHoklch(40.95% 0.121 265.5)
XYZxyz(7.7415, 6.6118, 25.2893)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A458B #8B702A
analogous
#2A758B #2A458B #3F2A8B
triadic
#2A458B #8B2A45 #458B2A
tetradic
#2A458B #8B2A75 #8B702A #2A8B3F
square
#2A458B #8B2A75 #8B702A #2A8B3F
split-complementary
#2A458B #8B3F2A #758B2A
monochromatic
#0E162D #1C2E5C #2A458B #385CBA #607FCF

Accessibility & contrast

On white

9.04
#2A458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A458B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A458B#FFFFFF#000000##FFFFFF
##2A458B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#03458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a458b;
/* rgb */ color: rgb(42, 69, 139);
/* oklch */ color: oklch(40.9% 0.121 265.5);
Tailwind
colors: {
  custom: {
    50: '#7078ad',
    500: '#2a458b',
    950: '#000000',
  },
}
SCSS
$custom: #2a458b;
$custom-light: #7078ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a458b",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 223.299,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.121,
    "h": 265.5
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#2A458B
secondary
#B59C5C
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A458B

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

Preview Lab → · Contrast checker → · Palette generator →

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