#2A4B92#2A4B92

#2A4B92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.123 H 263.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2A4B92
RGBrgb(42, 75, 146)
HSLhsl(221, 55%, 37%)
HSVhsv(221, 71%, 57%)
CMYKcmyk(71.2%, 48.6%, 0%, 42.7%)
CIE-LABlab(33.13, 13.19, -42.77)
CIE-LCHlch(33.13, 44.76, 287.14°)
OKLaboklab(42.8% -0.0143 -0.1226)
OKLCHoklch(42.8% 0.123 263.4)
XYZxyz(8.6574, 7.5988, 28.1990)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B92 #92712A
analogous
#2A7F92 #2A4B92 #3D2A92
triadic
#2A4B92 #922A4B #4B922A
tetradic
#2A4B92 #922A7F #92712A #2A923D
square
#2A4B92 #922A7F #92712A #2A923D
split-complementary
#2A4B92 #923D2A #7F922A
monochromatic
#0F1A33 #1C3362 #2A4B92 #3863C2 #6487D2

Accessibility & contrast

On white

8.33
#2A4B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A4B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B92
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B92#FFFFFF#000000##FFFFFF
##2A4B921.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255395
Deuteranopia (green-blind)
#0C4991
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4b92;
/* rgb */ color: rgb(42, 75, 146);
/* oklch */ color: oklch(42.8% 0.123 263.4);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2a4b92',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b92;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b92",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 220.962,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.12343,
    "h": 263.4
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#2A4B92
secondary
#B89C5F
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4B92

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

Preview Lab → · Contrast checker → · Palette generator →

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