#2A5E7A#2A5E7A

#2A5E7A is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.072 H 234.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5E7A
RGBrgb(42, 94, 122)
HSLhsl(201, 49%, 32%)
HSVhsv(201, 66%, 48%)
CMYKcmyk(65.6%, 23%, 0%, 52.2%)
CIE-LABlab(37.67, -7.99, -20.92)
CIE-LCHlch(37.67, 22.40, 249.09°)
OKLaboklab(45.91% -0.0412 -0.0586)
OKLCHoklch(45.91% 0.072 234.9)
XYZxyz(8.4690, 9.9019, 19.8735)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E7A #7A462A
analogous
#2A7A6E #2A5E7A #2A367A
triadic
#2A5E7A #7A2A5E #5E7A2A
tetradic
#2A5E7A #6E2A7A #7A462A #367A2A
square
#2A5E7A #6E2A7A #7A462A #367A2A
split-complementary
#2A5E7A #7A2A36 #7A6E2A
monochromatic
#0B181F #1A3B4C #2A5E7A #3A81A8 #59A0C6

Accessibility & contrast

On white

7.05
#2A5E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A5E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E7A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E7A#FFFFFF#000000##FFFFFF
##2A5E7A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7B
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#006567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5e7a;
/* rgb */ color: rgb(42, 94, 122);
/* oklch */ color: oklch(45.9% 0.072 234.9);
Tailwind
colors: {
  custom: {
    50: '#6c8ba0',
    500: '#2a5e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e7a;
$custom-light: #6c8ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e7a",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 122
  },
  "hsl": {
    "h": 201,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.07167,
    "h": 234.9
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#2A5E7A
secondary
#AB7355
accent
#7F4FD8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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