#2A4A9F#2A4A9F

#2A4A9F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.143 H 265.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2A4A9F
RGBrgb(42, 74, 159)
HSLhsl(224, 58%, 39%)
HSVhsv(224, 74%, 62%)
CMYKcmyk(73.6%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.76, 18.86, -49.64)
CIE-LCHlch(33.76, 53.11, 290.80°)
OKLaboklab(43.57% -0.0117 -0.1428)
OKLCHoklch(43.57% 0.143 265.3)
XYZxyz(9.6594, 7.8920, 33.8084)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A9F #9F7F2A
analogous
#2A859F #2A4A9F #452A9F
triadic
#2A4A9F #9F2A4A #4A9F2A
tetradic
#2A4A9F #9F2A85 #9F7F2A #2A9F45
square
#2A4A9F #9F2A85 #9F7F2A #2A9F45
split-complementary
#2A4A9F #9F452A #859F2A
monochromatic
#101D3E #1D336F #2A4A9F #3B62CB #6B89D8

Accessibility & contrast

On white

8.14
#2A4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A4A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A9F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A9F#FFFFFF#000000##FFFFFF
##2A4A9F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4a9f;
/* rgb */ color: rgb(42, 74, 159);
/* oklch */ color: oklch(43.6% 0.143 265.3);
Tailwind
colors: {
  custom: {
    50: '#747cbc',
    500: '#2a4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a9f;
$custom-light: #747cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a9f",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 223.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.14332,
    "h": 265.3
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#2A4A9F
secondary
#BFA666
accent
#B746E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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