#2A4F92#2A4F92

#2A4F92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.118 H 261.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2A4F92
RGBrgb(42, 79, 146)
HSLhsl(219, 55%, 37%)
HSVhsv(219, 71%, 57%)
CMYKcmyk(71.2%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.31, 10.51, -40.88)
CIE-LCHlch(34.31, 42.21, 284.42°)
OKLaboklab(43.71% -0.0181 -0.117)
OKLCHoklch(43.71% 0.118 261.2)
XYZxyz(8.9373, 8.1586, 28.2923)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F92 #926D2A
analogous
#2A8392 #2A4F92 #392A92
triadic
#2A4F92 #922A4F #4F922A
tetradic
#2A4F92 #922A83 #926D2A #2A9239
square
#2A4F92 #922A83 #926D2A #2A9239
split-complementary
#2A4F92 #92392A #83922A
monochromatic
#0F1C33 #1C3562 #2A4F92 #3869C2 #648BD2

Accessibility & contrast

On white

7.98
#2A4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F92
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F92#FFFFFF#000000##FFFFFF
##2A4F921.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4f92;
/* rgb */ color: rgb(42, 79, 146);
/* oklch */ color: oklch(43.7% 0.118 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2a4f92',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f92;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f92",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 218.654,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.11838,
    "h": 261.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2A4F92
secondary
#B8995F
accent
#A949DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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