#2A74B5#2A74B5

#2A74B5 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.125 H 248.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A74B5
RGBrgb(42, 116, 181)
HSLhsl(208, 62%, 44%)
HSVhsv(208, 77%, 71%)
CMYKcmyk(76.8%, 35.9%, 0%, 29%)
CIE-LABlab(47.39, 0.17, -40.82)
CIE-LCHlch(47.39, 40.82, 270.23°)
OKLaboklab(54.55% -0.0449 -0.1162)
OKLCHoklch(54.55% 0.125 248.9)
XYZxyz(15.5376, 16.3174, 46.0378)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B5 #B56B2A
analogous
#2AB5B0 #2A74B5 #2A2EB5
triadic
#2A74B5 #B52A74 #74B52A
tetradic
#2A74B5 #B02AB5 #B56B2A #2EB52A
square
#2A74B5 #B02AB5 #B56B2A #2EB52A
split-complementary
#2A74B5 #B52A2E #B5B02A
monochromatic
#133452 #1E5483 #2A74B5 #4893D4 #79B0E0

Accessibility & contrast

On white

4.93
#2A74B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A74B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B5#FFFFFF#000000##FFFFFF
##2A74B51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5677B8
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#00848C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a74b5;
/* rgb */ color: rgb(42, 116, 181);
/* oklch */ color: oklch(54.5% 0.125 248.9);
Tailwind
colors: {
  custom: {
    50: '#789bcb',
    500: '#2a74b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b5;
$custom-light: #789bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b5",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 208.058,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.12455,
    "h": 248.9
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#2A74B5
secondary
#C89B73
accent
#8F42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B5

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

Preview Lab → · Contrast checker → · Palette generator →

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