#2A74B3#2A74B3

#2A74B3 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.122 H 248.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A74B3
RGBrgb(42, 116, 179)
HSLhsl(208, 62%, 43%)
HSVhsv(208, 77%, 70%)
CMYKcmyk(76.5%, 35.2%, 0%, 29.8%)
CIE-LABlab(47.28, -0.58, -39.83)
CIE-LCHlch(47.28, 39.83, 269.17°)
OKLaboklab(54.43% -0.0454 -0.1133)
OKLCHoklch(54.43% 0.122 248.1)
XYZxyz(15.3338, 16.2359, 44.9648)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B3 #B3692A
analogous
#2AB3AD #2A74B3 #2A30B3
triadic
#2A74B3 #B32A74 #74B32A
tetradic
#2A74B3 #AD2AB3 #B3692A #30B32A
square
#2A74B3 #AD2AB3 #B3692A #30B32A
split-complementary
#2A74B3 #B32A30 #B3AD2A
monochromatic
#133450 #1E5481 #2A74B3 #4693D4 #78B0DF

Accessibility & contrast

On white

4.94
#2A74B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A74B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B3#FFFFFF#000000##FFFFFF
##2A74B31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#436AB2
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a74b3;
/* rgb */ color: rgb(42, 116, 179);
/* oklch */ color: oklch(54.4% 0.122 248.1);
Tailwind
colors: {
  custom: {
    50: '#779bca',
    500: '#2a74b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b3;
$custom-light: #779bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b3",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 179
  },
  "hsl": {
    "h": 207.591,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.12204,
    "h": 248.1
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#2A74B3
secondary
#C79972
accent
#8D43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B3

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

Preview Lab → · Contrast checker → · Palette generator →

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