#2A4D9F#2A4D9F

#2A4D9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.139 H 264.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A4D9F
RGBrgb(42, 77, 159)
HSLhsl(222, 58%, 39%)
HSVhsv(222, 74%, 62%)
CMYKcmyk(73.6%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.60, 16.85, -48.27)
CIE-LCHlch(34.60, 51.13, 289.24°)
OKLaboklab(44.21% -0.0143 -0.1388)
OKLCHoklch(44.21% 0.139 264.1)
XYZxyz(9.8645, 8.3021, 33.8768)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D9F #9F7C2A
analogous
#2A889F #2A4D9F #412A9F
triadic
#2A4D9F #9F2A4D #4D9F2A
tetradic
#2A4D9F #9F2A88 #9F7C2A #2A9F41
square
#2A4D9F #9F2A88 #9F7C2A #2A9F41
split-complementary
#2A4D9F #9F412A #889F2A
monochromatic
#101E3E #1D366F #2A4D9F #3B66CB #6B8CD8

Accessibility & contrast

On white

7.89
#2A4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D9F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D9F#FFFFFF#000000##FFFFFF
##2A4D9F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4d9f;
/* rgb */ color: rgb(42, 77, 159);
/* oklch */ color: oklch(44.2% 0.139 264.1);
Tailwind
colors: {
  custom: {
    50: '#747ebc',
    500: '#2a4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d9f;
$custom-light: #747ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d9f",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 222.051,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.13949,
    "h": 264.1
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#2A4D9F
secondary
#BFA466
accent
#B346E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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