#2A4A92#2A4A92

#2A4A92 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.125 H 263.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2A4A92
RGBrgb(42, 74, 146)
HSLhsl(222, 55%, 37%)
HSVhsv(222, 71%, 57%)
CMYKcmyk(71.2%, 49.3%, 0%, 42.7%)
CIE-LABlab(32.84, 13.86, -43.24)
CIE-LCHlch(32.84, 45.41, 287.77°)
OKLaboklab(42.58% -0.0133 -0.124)
OKLCHoklch(42.58% 0.125 263.9)
XYZxyz(8.5901, 7.4642, 28.1766)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A92 #92722A
analogous
#2A7E92 #2A4A92 #3E2A92
triadic
#2A4A92 #922A4A #4A922A
tetradic
#2A4A92 #922A7E #92722A #2A923E
square
#2A4A92 #922A7E #92722A #2A923E
split-complementary
#2A4A92 #923E2A #7E922A
monochromatic
#0F1A33 #1C3262 #2A4A92 #3862C2 #6486D2

Accessibility & contrast

On white

8.42
#2A4A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A4A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A92
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A92#FFFFFF#000000##FFFFFF
##2A4A921.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235295
Deuteranopia (green-blind)
#064991
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4a92;
/* rgb */ color: rgb(42, 74, 146);
/* oklch */ color: oklch(42.6% 0.125 263.9);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2a4a92',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a92;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a92",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 221.538,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.12471,
    "h": 263.9
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#2A4A92
secondary
#B89D5F
accent
#B149DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4A92

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

Preview Lab → · Contrast checker → · Palette generator →

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