#2A5792#2A5792

#2A5792 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.109 H 256.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2A5792
RGBrgb(42, 87, 146)
HSLhsl(214, 55%, 37%)
HSVhsv(214, 71%, 57%)
CMYKcmyk(71.2%, 40.4%, 0%, 42.7%)
CIE-LABlab(36.71, 5.24, -37.05)
CIE-LCHlch(36.71, 37.42, 278.05°)
OKLaboklab(45.57% -0.0261 -0.1056)
OKLCHoklch(45.57% 0.109 256.1)
XYZxyz(9.5495, 9.3829, 28.4964)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5792 #92652A
analogous
#2A8B92 #2A5792 #312A92
triadic
#2A5792 #922A57 #57922A
tetradic
#2A5792 #922A8B #92652A #2A9231
square
#2A5792 #922A8B #92652A #2A9231
split-complementary
#2A5792 #92312A #8B922A
monochromatic
#0F1E33 #1C3B62 #2A5792 #3873C2 #6494D2

Accessibility & contrast

On white

7.30
#2A5792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2A5792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5792
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5792#FFFFFF#000000##FFFFFF
##2A57921.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C94
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5792;
/* rgb */ color: rgb(42, 87, 146);
/* oklch */ color: oklch(45.6% 0.109 256.1);
Tailwind
colors: {
  custom: {
    50: '#7086b2',
    500: '#2a5792',
    950: '#000000',
  },
}
SCSS
$custom: #2a5792;
$custom-light: #7086b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5792",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 214.038,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.10876,
    "h": 256.1
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#2A5792
secondary
#B8925F
accent
#9E49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5792

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

Preview Lab → · Contrast checker → · Palette generator →

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