#2A5E7C#2A5E7C

#2A5E7C is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.074 H 236.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2A5E7C
RGBrgb(42, 94, 124)
HSLhsl(202, 49%, 33%)
HSVhsv(202, 66%, 49%)
CMYKcmyk(66.1%, 24.2%, 0%, 51.4%)
CIE-LABlab(37.76, -7.29, -22.01)
CIE-LCHlch(37.76, 23.18, 251.68°)
OKLaboklab(46.02% -0.0405 -0.0617)
OKLCHoklch(46.02% 0.074 236.8)
XYZxyz(8.5942, 9.9520, 20.5329)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E7C #7C482A
analogous
#2A7C71 #2A5E7C #2A357C
triadic
#2A5E7C #7C2A5E #5E7C2A
tetradic
#2A5E7C #712A7C #7C482A #357C2A
square
#2A5E7C #712A7C #7C482A #357C2A
split-complementary
#2A5E7C #7C2A35 #7C712A
monochromatic
#0B1921 #1B3B4E #2A5E7C #3981AA #599FC7

Accessibility & contrast

On white

7.02
#2A5E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2A5E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E7C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E7C#FFFFFF#000000##FFFFFF
##2A5E7C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#45557C
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5e7c;
/* rgb */ color: rgb(42, 94, 124);
/* oklch */ color: oklch(46.0% 0.074 236.8);
Tailwind
colors: {
  custom: {
    50: '#6d8ba2',
    500: '#2a5e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e7c;
$custom-light: #6d8ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e7c",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 124
  },
  "hsl": {
    "h": 201.951,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.07382,
    "h": 236.8
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#2A5E7C
secondary
#AD7555
accent
#814FD9
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #2A5E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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