#2A5592#2A5592

#2A5592 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.111 H 257.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2A5592
RGBrgb(42, 85, 146)
HSLhsl(215, 55%, 37%)
HSVhsv(215, 71%, 57%)
CMYKcmyk(71.2%, 41.8%, 0%, 42.7%)
CIE-LABlab(36.11, 6.54, -38.01)
CIE-LCHlch(36.11, 38.57, 279.77°)
OKLaboklab(45.1% -0.024 -0.1084)
OKLCHoklch(45.1% 0.111 257.5)
XYZxyz(9.3898, 9.0636, 28.4431)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5592 #92672A
analogous
#2A8992 #2A5592 #332A92
triadic
#2A5592 #922A55 #55922A
tetradic
#2A5592 #922A89 #92672A #2A9233
square
#2A5592 #922A89 #92672A #2A9233
split-complementary
#2A5592 #92332A #89922A
monochromatic
#0F1E33 #1C3962 #2A5592 #3871C2 #6492D2

Accessibility & contrast

On white

7.47
#2A5592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2A5592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5592
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5592#FFFFFF#000000##FFFFFF
##2A55921.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#285091
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5592;
/* rgb */ color: rgb(42, 85, 146);
/* oklch */ color: oklch(45.1% 0.111 257.5);
Tailwind
colors: {
  custom: {
    50: '#7184b2',
    500: '#2a5592',
    950: '#000000',
  },
}
SCSS
$custom: #2a5592;
$custom-light: #7184b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5592",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 146
  },
  "hsl": {
    "h": 215.192,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.11108,
    "h": 257.5
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#2A5592
secondary
#B8945F
accent
#A149DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A5592

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

Preview Lab → · Contrast checker → · Palette generator →

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