#2A4B9F#2A4B9F

#2A4B9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.142 H 264.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A4B9F
RGBrgb(42, 75, 159)
HSLhsl(223, 58%, 39%)
HSVhsv(223, 74%, 62%)
CMYKcmyk(73.6%, 52.8%, 0%, 37.6%)
CIE-LABlab(34.04, 18.19, -49.19)
CIE-LCHlch(34.04, 52.44, 290.30°)
OKLaboklab(43.78% -0.0126 -0.1415)
OKLCHoklch(43.78% 0.142 264.9)
XYZxyz(9.7267, 8.0266, 33.8308)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B9F #9F7E2A
analogous
#2A869F #2A4B9F #442A9F
triadic
#2A4B9F #9F2A4B #4B9F2A
tetradic
#2A4B9F #9F2A86 #9F7E2A #2A9F44
square
#2A4B9F #9F2A86 #9F7E2A #2A9F44
split-complementary
#2A4B9F #9F442A #869F2A
monochromatic
#101D3E #1D346F #2A4B9F #3B64CB #6B8AD8

Accessibility & contrast

On white

8.06
#2A4B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A4B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B9F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B9F#FFFFFF#000000##FFFFFF
##2A4B9F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4b9f;
/* rgb */ color: rgb(42, 75, 159);
/* oklch */ color: oklch(43.8% 0.142 264.9);
Tailwind
colors: {
  custom: {
    50: '#747cbc',
    500: '#2a4b9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b9f;
$custom-light: #747cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b9f",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 223.077,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.14205,
    "h": 264.9
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#2A4B9F
secondary
#BFA666
accent
#B646E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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