#2478D9#2478D9

#2478D9 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.6% C 0.168 H 255.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2478D9
RGBrgb(36, 120, 217)
HSLhsl(212, 72%, 50%)
HSVhsv(212, 83%, 85%)
CMYKcmyk(83.4%, 44.7%, 0%, 14.9%)
CIE-LABlab(50.47, 10.70, -56.53)
CIE-LCHlch(50.47, 57.53, 280.72°)
OKLaboklab(57.58% -0.0429 -0.1623)
OKLCHoklch(57.58% 0.168 255.2)
XYZxyz(19.9637, 18.8153, 68.2117)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2478D9 #D98524
analogous
#24D3D9 #2478D9 #2B24D9
triadic
#2478D9 #D92478 #78D924
tetradic
#2478D9 #D924D3 #D98524 #24D92B
square
#2478D9 #D924D3 #D98524 #24D92B
split-complementary
#2478D9 #D92B24 #D3D924
monochromatic
#133E70 #1B5BA5 #2478D9 #5798E3 #8CB8EC

Accessibility & contrast

On white

4.41
#2478D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2478D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2478D9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2478D9#FFFFFF#000000##000000
##2478D91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DD
Deuteranopia (green-blind)
#1971D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2478d9;
/* rgb */ color: rgb(36, 120, 217);
/* oklch */ color: oklch(57.6% 0.168 255.2);
Tailwind
colors: {
  custom: {
    50: '#7e9ee5',
    500: '#2478d9',
    950: '#000000',
  },
}
SCSS
$custom: #2478d9;
$custom-light: #7e9ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#2478d9",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 212.155,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.16785,
    "h": 255.2
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#2478D9
secondary
#D6AF83
accent
#9A3AEE
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2478D9

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

Preview Lab → · Contrast checker → · Palette generator →

#2478D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva