#2A74BB#2A74BB

#2A74BB is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.132 H 250.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A74BB
RGBrgb(42, 116, 187)
HSLhsl(209, 63%, 45%)
HSVhsv(209, 78%, 73%)
CMYKcmyk(77.5%, 38%, 0%, 26.7%)
CIE-LABlab(47.71, 2.41, -43.78)
CIE-LCHlch(47.71, 43.85, 273.15°)
OKLaboklab(54.91% -0.0433 -0.1248)
OKLCHoklch(54.91% 0.132 250.9)
XYZxyz(16.1665, 16.5690, 49.3502)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74BB #BB712A
analogous
#2ABBB9 #2A74BB #2A2CBB
triadic
#2A74BB #BB2A74 #74BB2A
tetradic
#2A74BB #B92ABB #BB712A #2CBB2A
square
#2A74BB #B92ABB #BB712A #2CBB2A
split-complementary
#2A74BB #BB2A2C #BBB92A
monochromatic
#143657 #1F5589 #2A74BB #4C93D7 #7DB1E2

Accessibility & contrast

On white

4.87
#2A74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A74BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74BB#FFFFFF#000000##FFFFFF
##2A74BB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BE
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a74bb;
/* rgb */ color: rgb(42, 116, 187);
/* oklch */ color: oklch(54.9% 0.132 250.9);
Tailwind
colors: {
  custom: {
    50: '#799bd0',
    500: '#2a74bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a74bb;
$custom-light: #799bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74bb",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 209.379,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.13215,
    "h": 250.9
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#2A74BB
secondary
#CAA076
accent
#9241E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2A74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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