#2B74AB#2B74AB

#2B74AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.112 H 245.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2B74AB
RGBrgb(43, 116, 171)
HSLhsl(206, 60%, 42%)
HSVhsv(206, 75%, 67%)
CMYKcmyk(74.9%, 32.2%, 0%, 32.9%)
CIE-LABlab(46.90, -3.41, -35.77)
CIE-LCHlch(46.90, 35.94, 264.56°)
OKLaboklab(54% -0.0472 -0.1014)
OKLCHoklch(54% 0.112 245)
XYZxyz(14.5895, 15.9430, 40.8286)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B74AB #AB622B
analogous
#2BABA2 #2B74AB #2B34AB
triadic
#2B74AB #AB2B74 #74AB2B
tetradic
#2B74AB #A22BAB #AB622B #34AB2B
square
#2B74AB #A22BAB #AB622B #34AB2B
split-complementary
#2B74AB #AB2B34 #ABA22B
monochromatic
#123249 #1F537A #2B74AB #4393D0 #74B0DC

Accessibility & contrast

On white

5.01
#2B74AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2B74AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B74AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B74AB#FFFFFF#000000##FFFFFF
##2B74AB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b74ab;
/* rgb */ color: rgb(43, 116, 171);
/* oklch */ color: oklch(54.0% 0.112 245.0);
Tailwind
colors: {
  custom: {
    50: '#769bc4',
    500: '#2b74ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b74ab;
$custom-light: #769bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b74ab",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 205.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.11187,
    "h": 245
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#2B74AB
secondary
#C4936E
accent
#8945E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B74AB

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

Preview Lab → · Contrast checker → · Palette generator →

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