#2A5192#2A5192

#2A5192 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.116 H 260.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2A5192
RGBrgb(42, 81, 146)
HSLhsl(218, 55%, 37%)
HSVhsv(218, 71%, 57%)
CMYKcmyk(71.2%, 44.5%, 0%, 42.7%)
CIE-LABlab(34.91, 9.18, -39.93)
CIE-LCHlch(34.91, 40.97, 282.95°)
OKLaboklab(44.17% -0.0201 -0.1141)
OKLCHoklch(44.17% 0.116 260)
XYZxyz(9.0837, 8.4515, 28.3411)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5192 #926B2A
analogous
#2A8592 #2A5192 #372A92
triadic
#2A5192 #922A51 #51922A
tetradic
#2A5192 #922A85 #926B2A #2A9237
square
#2A5192 #922A85 #926B2A #2A9237
split-complementary
#2A5192 #92372A #85922A
monochromatic
#0F1C33 #1C3762 #2A5192 #386BC2 #648DD2

Accessibility & contrast

On white

7.81
#2A5192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A5192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5192
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5192#FFFFFF#000000##FFFFFF
##2A51921.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5192;
/* rgb */ color: rgb(42, 81, 146);
/* oklch */ color: oklch(44.2% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#7181b2',
    500: '#2a5192',
    950: '#000000',
  },
}
SCSS
$custom: #2a5192;
$custom-light: #7181b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5192",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 217.5,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.11589,
    "h": 260
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#2A5192
secondary
#B8975F
accent
#A749DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A5192

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

Preview Lab → · Contrast checker → · Palette generator →

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