#2579B2#2579B2

#2579B2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.118 H 243.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2579B2
RGBrgb(37, 121, 178)
HSLhsl(204, 66%, 42%)
HSVhsv(204, 79%, 70%)
CMYKcmyk(79.2%, 32%, 0%, 30.2%)
CIE-LABlab(48.61, -4.55, -37.16)
CIE-LCHlch(48.61, 37.44, 263.02°)
OKLaboklab(55.43% -0.0529 -0.1054)
OKLCHoklch(55.43% 0.118 243.4)
XYZxyz(15.6331, 17.2805, 44.6224)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2579B2 #B25E25
analogous
#25B2A4 #2579B2 #2533B2
triadic
#2579B2 #B22579 #79B225
tetradic
#2579B2 #A425B2 #B25E25 #33B225
square
#2579B2 #A425B2 #B25E25 #33B225
split-complementary
#2579B2 #B22533 #B2A425
monochromatic
#10344D #1A577F #2579B2 #3D99D7 #70B4E1

Accessibility & contrast

On white

4.71
#2579B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2579B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2579B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2579B2#FFFFFF#000000##FFFFFF
##2579B21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB4
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2579b2;
/* rgb */ color: rgb(37, 121, 178);
/* oklch */ color: oklch(55.4% 0.118 243.4);
Tailwind
colors: {
  custom: {
    50: '#769fc9',
    500: '#2579b2',
    950: '#000000',
  },
}
SCSS
$custom: #2579b2;
$custom-light: #769fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2579b2",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 204.255,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.11797,
    "h": 243.4
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#2579B2
secondary
#C8906B
accent
#843FE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2579B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2579B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva