#2478AF#2478AF

#2478AF is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.116 H 242.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2478AF
RGBrgb(36, 120, 175)
HSLhsl(204, 66%, 41%)
HSVhsv(204, 79%, 69%)
CMYKcmyk(79.4%, 31.4%, 0%, 31.4%)
CIE-LABlab(48.14, -5.17, -36.17)
CIE-LCHlch(48.14, 36.54, 261.86°)
OKLaboklab(55% -0.0534 -0.1026)
OKLCHoklch(55% 0.116 242.5)
XYZxyz(15.1789, 16.9013, 43.0114)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2478AF #AF5B24
analogous
#24AFA1 #2478AF #2433AF
triadic
#2478AF #AF2478 #78AF24
tetradic
#2478AF #A124AF #AF5B24 #33AF24
square
#2478AF #A124AF #AF5B24 #33AF24
split-complementary
#2478AF #AF2433 #AFA124
monochromatic
#0F3249 #1A557C #2478AF #3A98D6 #6DB3E1

Accessibility & contrast

On white

4.79
#2478AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2478AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2478AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2478AF#FFFFFF#000000##FFFFFF
##2478AF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2478af;
/* rgb */ color: rgb(36, 120, 175);
/* oklch */ color: oklch(55.0% 0.116 242.5);
Tailwind
colors: {
  custom: {
    50: '#759ec7',
    500: '#2478af',
    950: '#000000',
  },
}
SCSS
$custom: #2478af;
$custom-light: #759ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2478af",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 203.741,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.11563,
    "h": 242.5
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#2478AF
secondary
#C78D68
accent
#823FE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2478AF

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

Preview Lab → · Contrast checker → · Palette generator →

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