#2A5E91#2A5E91

#2A5E91 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.100 H 250.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2A5E91
RGBrgb(42, 94, 145)
HSLhsl(210, 55%, 37%)
HSVhsv(210, 71%, 57%)
CMYKcmyk(71%, 35.2%, 0%, 43.1%)
CIE-LABlab(38.80, 0.37, -33.14)
CIE-LCHlch(38.80, 33.14, 270.65°)
OKLaboklab(47.18% -0.0335 -0.094)
OKLCHoklch(47.18% 0.1 250.4)
XYZxyz(10.0665, 10.5409, 28.2867)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E91 #915D2A
analogous
#2A9191 #2A5E91 #2A2B91
triadic
#2A5E91 #912A5E #5E912A
tetradic
#2A5E91 #912A91 #915D2A #2B912A
square
#2A5E91 #912A91 #915D2A #2B912A
split-complementary
#2A5E91 #912A2B #91912A
monochromatic
#0F2032 #1C3F62 #2A5E91 #387DC0 #639BD2

Accessibility & contrast

On white

6.76
#2A5E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A5E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E91
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E91#FFFFFF#000000##FFFFFF
##2A5E911.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5e91;
/* rgb */ color: rgb(42, 94, 145);
/* oklch */ color: oklch(47.2% 0.100 250.4);
Tailwind
colors: {
  custom: {
    50: '#708bb1',
    500: '#2a5e91',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e91;
$custom-light: #708bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e91",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 145
  },
  "hsl": {
    "h": 209.709,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.09983,
    "h": 250.4
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#2A5E91
secondary
#B88B5F
accent
#9349DE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5E91

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

Preview Lab → · Contrast checker → · Palette generator →

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