#2A448E#2A448E

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

Color values

HEX#2A448E
RGBrgb(42, 68, 142)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 56%)
CMYKcmyk(70.4%, 52.1%, 0%, 44.3%)
CIE-LABlab(30.83, 16.39, -44.04)
CIE-LCHlch(30.83, 46.99, 290.41°)
OKLaboklab(40.96% -0.0082 -0.1264)
OKLCHoklch(40.96% 0.127 266.3)
XYZxyz(7.9028, 6.5787, 26.4393)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A448E #8E742A
analogous
#2A768E #2A448E #422A8E
triadic
#2A448E #8E2A44 #448E2A
tetradic
#2A448E #8E2A76 #8E742A #2A8E42
square
#2A448E #8E2A76 #8E742A #2A8E42
split-complementary
#2A448E #8E422A #768E2A
monochromatic
#0E1730 #1C2D5F #2A448E #385BBD #627FD1

Accessibility & contrast

On white

9.07
#2A448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A448E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A448E#FFFFFF#000000##FFFFFF
##2A448E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a448e;
/* rgb */ color: rgb(42, 68, 142);
/* oklch */ color: oklch(41.0% 0.127 266.3);
Tailwind
colors: {
  custom: {
    50: '#7077b0',
    500: '#2a448e',
    950: '#000000',
  },
}
SCSS
$custom: #2a448e;
$custom-light: #7077b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a448e",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 224.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.12671,
    "h": 266.3
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#2A448E
secondary
#B69F5D
accent
#B74ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A448E

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

Preview Lab → · Contrast checker → · Palette generator →

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