#2A4B9D#2A4B9D

#2A4B9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.139 H 264.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A4B9D
RGBrgb(42, 75, 157)
HSLhsl(223, 58%, 39%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(73.2%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.89, 17.42, -48.21)
CIE-LCHlch(33.89, 51.27, 289.87°)
OKLaboklab(43.63% -0.0128 -0.1386)
OKLCHoklch(43.63% 0.139 264.7)
XYZxyz(9.5546, 7.9577, 32.9242)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B9D #9D7C2A
analogous
#2A859D #2A4B9D #432A9D
triadic
#2A4B9D #9D2A4B #4B9D2A
tetradic
#2A4B9D #9D2A85 #9D7C2A #2A9D43
square
#2A4B9D #9D2A85 #9D7C2A #2A9D43
split-complementary
#2A4B9D #9D432A #859D2A
monochromatic
#101D3C #1D346D #2A4B9D #3A63CA #6A89D7

Accessibility & contrast

On white

8.10
#2A4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B9D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B9D#FFFFFF#000000##FFFFFF
##2A4B9D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4b9d;
/* rgb */ color: rgb(42, 75, 157);
/* oklch */ color: oklch(43.6% 0.139 264.7);
Tailwind
colors: {
  custom: {
    50: '#737cba',
    500: '#2a4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b9d;
$custom-light: #737cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b9d",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 222.783,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.13921,
    "h": 264.7
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#2A4B9D
secondary
#BEA465
accent
#B547E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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