#2A458C#2A458C

#2A458C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.122 H 265.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2A458C
RGBrgb(42, 69, 140)
HSLhsl(223, 54%, 36%)
HSVhsv(223, 70%, 55%)
CMYKcmyk(70%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.98, 14.94, -42.57)
CIE-LCHlch(30.98, 45.11, 289.34°)
OKLaboklab(41.03% -0.0094 -0.1221)
OKLCHoklch(41.03% 0.122 265.6)
XYZxyz(7.8149, 6.6412, 25.6759)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A458C #8C712A
analogous
#2A768C #2A458C #402A8C
triadic
#2A458C #8C2A45 #458C2A
tetradic
#2A458C #8C2A76 #8C712A #2A8C40
square
#2A458C #8C2A76 #8C712A #2A8C40
split-complementary
#2A458C #8C402A #768C2A
monochromatic
#0E172E #1C2E5D #2A458C #385CBB #617FD0

Accessibility & contrast

On white

9.02
#2A458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A458C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A458C#FFFFFF#000000##FFFFFF
##2A458C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a458c;
/* rgb */ color: rgb(42, 69, 140);
/* oklch */ color: oklch(41.0% 0.122 265.6);
Tailwind
colors: {
  custom: {
    50: '#7078ae',
    500: '#2a458c',
    950: '#000000',
  },
}
SCSS
$custom: #2a458c;
$custom-light: #7078ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a458c",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 223.469,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.12247,
    "h": 265.6
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#2A458C
secondary
#B59D5C
accent
#B54BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A458C

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

Preview Lab → · Contrast checker → · Palette generator →

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