#2579B1#2579B1

#2579B1 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.117 H 242.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2579B1
RGBrgb(37, 121, 177)
HSLhsl(204, 65%, 42%)
HSVhsv(204, 79%, 69%)
CMYKcmyk(79.1%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.56, -4.92, -36.66)
CIE-LCHlch(48.56, 36.99, 262.36°)
OKLaboklab(55.37% -0.0532 -0.104)
OKLCHoklch(55.37% 0.117 242.9)
XYZxyz(15.5330, 17.2405, 44.0955)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2579B1 #B15D25
analogous
#25B1A3 #2579B1 #2533B1
triadic
#2579B1 #B12579 #79B125
tetradic
#2579B1 #A325B1 #B15D25 #33B125
square
#2579B1 #A325B1 #B15D25 #33B125
split-complementary
#2579B1 #B12533 #B1A325
monochromatic
#10344C #1A567E #2579B1 #3D99D6 #6FB4E1

Accessibility & contrast

On white

4.72
#2579B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2579B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2579B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2579B1#FFFFFF#000000##FFFFFF
##2579B11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2579b1;
/* rgb */ color: rgb(37, 121, 177);
/* oklch */ color: oklch(55.4% 0.117 242.9);
Tailwind
colors: {
  custom: {
    50: '#759fc8',
    500: '#2579b1',
    950: '#000000',
  },
}
SCSS
$custom: #2579b1;
$custom-light: #759fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2579b1",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 204,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.1168,
    "h": 242.9
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#2579B1
secondary
#C8906A
accent
#833FE8
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2579B1

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

Preview Lab → · Contrast checker → · Palette generator →

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