#2A5092#2A5092

#2A5092 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.117 H 260.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A5092
RGBrgb(42, 80, 146)
HSLhsl(218, 55%, 37%)
HSVhsv(218, 71%, 57%)
CMYKcmyk(71.2%, 45.2%, 0%, 42.7%)
CIE-LABlab(34.61, 9.84, -40.41)
CIE-LCHlch(34.61, 41.59, 283.69°)
OKLaboklab(43.94% -0.0191 -0.1156)
OKLCHoklch(43.94% 0.117 260.6)
XYZxyz(9.0100, 8.3040, 28.3165)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5092 #926C2A
analogous
#2A8492 #2A5092 #382A92
triadic
#2A5092 #922A50 #50922A
tetradic
#2A5092 #922A84 #926C2A #2A9238
square
#2A5092 #922A84 #926C2A #2A9238
split-complementary
#2A5092 #92382A #84922A
monochromatic
#0F1C33 #1C3662 #2A5092 #386AC2 #648CD2

Accessibility & contrast

On white

7.89
#2A5092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A5092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5092
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5092#FFFFFF#000000##FFFFFF
##2A50921.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5092;
/* rgb */ color: rgb(42, 80, 146);
/* oklch */ color: oklch(43.9% 0.117 260.6);
Tailwind
colors: {
  custom: {
    50: '#7180b2',
    500: '#2a5092',
    950: '#000000',
  },
}
SCSS
$custom: #2a5092;
$custom-light: #7180b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5092",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 146
  },
  "hsl": {
    "h": 218.077,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.11713,
    "h": 260.6
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#2A5092
secondary
#B8985F
accent
#A849DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A5092

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

Preview Lab → · Contrast checker → · Palette generator →

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