#2A74B1#2A74B1

#2A74B1 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.3% C 0.120 H 247.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A74B1
RGBrgb(42, 116, 177)
HSLhsl(207, 62%, 43%)
HSVhsv(207, 76%, 69%)
CMYKcmyk(76.3%, 34.5%, 0%, 30.6%)
CIE-LABlab(47.18, -1.32, -38.83)
CIE-LCHlch(47.18, 38.85, 268.05°)
OKLaboklab(54.32% -0.046 -0.1104)
OKLCHoklch(54.32% 0.12 247.4)
XYZxyz(15.1330, 16.1556, 43.9072)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B1 #B1672A
analogous
#2AB1AA #2A74B1 #2A30B1
triadic
#2A74B1 #B12A74 #74B12A
tetradic
#2A74B1 #AA2AB1 #B1672A #30B12A
square
#2A74B1 #AA2AB1 #B1672A #30B12A
split-complementary
#2A74B1 #B12A30 #B1AA2A
monochromatic
#13334E #1E5480 #2A74B1 #4593D3 #77B0DF

Accessibility & contrast

On white

4.96
#2A74B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A74B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B1#FFFFFF#000000##FFFFFF
##2A74B11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B4
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a74b1;
/* rgb */ color: rgb(42, 116, 177);
/* oklch */ color: oklch(54.3% 0.120 247.4);
Tailwind
colors: {
  custom: {
    50: '#779bc8',
    500: '#2a74b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b1;
$custom-light: #779bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b1",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 177
  },
  "hsl": {
    "h": 207.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.11956,
    "h": 247.4
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#2A74B1
secondary
#C69770
accent
#8C43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B1

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

Preview Lab → · Contrast checker → · Palette generator →

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