#4098D5#4098D5

#4098D5 is a light, vivid cyan. Relative luminance 0.284; OKLCH L 65.3% C 0.124 H 242.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4098D5
RGBrgb(64, 152, 213)
HSLhsl(205, 64%, 54%)
HSVhsv(205, 70%, 84%)
CMYKcmyk(70%, 28.6%, 0%, 16.5%)
CIE-LABlab(60.20, -6.62, -38.79)
CIE-LCHlch(60.20, 39.35, 260.32°)
OKLaboklab(65.35% -0.0572 -0.1096)
OKLCHoklch(65.35% 0.124 242.4)
XYZxyz(25.3482, 28.3478, 67.0736)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098D5 #D57D40
analogous
#40D5C8 #4098D5 #404ED5
triadic
#4098D5 #D54098 #98D540
tetradic
#4098D5 #C840D5 #D57D40 #4ED540
square
#4098D5 #C840D5 #D57D40 #4ED540
split-complementary
#4098D5 #D5404E #D5C840
monochromatic
#1C567F #2778B1 #4098D5 #72B3E0 #A4CEEB

Accessibility & contrast

On white

3.15
#4098D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#4098D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098D5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098D5#FFFFFF#000000##000000
##4098D51.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#00A7AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4098d5;
/* rgb */ color: rgb(64, 152, 213);
/* oklch */ color: oklch(65.3% 0.124 242.4);
Tailwind
colors: {
  custom: {
    50: '#86b6e2',
    500: '#4098d5',
    950: '#000000',
  },
}
SCSS
$custom: #4098d5;
$custom-light: #86b6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4098d5",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 213
  },
  "hsl": {
    "h": 204.564,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.65345,
    "c": 0.12363,
    "h": 242.4
  },
  "luminance": 0.28351
}

Semantic roles & 50–950 ramp

primary
#4098D5
secondary
#D8B399
accent
#8541E7
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1115
muted
#7D8083

Preview Lab

Preview with #4098D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4098D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva