#4098CC#4098CC

#4098CC is a light, moderate cyan. Relative luminance 0.279; OKLCH L 64.9% C 0.114 H 238.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4098CC
RGBrgb(64, 152, 204)
HSLhsl(202, 58%, 53%)
HSVhsv(202, 69%, 80%)
CMYKcmyk(68.6%, 25.5%, 0%, 20%)
CIE-LABlab(59.80, -9.66, -34.38)
CIE-LCHlch(59.80, 35.72, 254.30°)
OKLaboklab(64.9% -0.0601 -0.0968)
OKLCHoklch(64.9% 0.114 238.1)
XYZxyz(24.2374, 27.9035, 61.2236)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098CC #CC7440
analogous
#40CCBA #4098CC #4052CC
triadic
#4098CC #CC4098 #98CC40
tetradic
#4098CC #BA40CC #CC7440 #52CC40
square
#4098CC #BA40CC #CC7440 #52CC40
split-complementary
#4098CC #CC4052 #CCBA40
monochromatic
#1F5473 #2C77A3 #4098CC #70B2D9 #A1CCE6

Accessibility & contrast

On white

3.19
#4098CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#4098CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098CC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098CC#FFFFFF#000000##000000
##4098CC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#00A5AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #4098cc;
/* rgb */ color: rgb(64, 152, 204);
/* oklch */ color: oklch(64.9% 0.114 238.1);
Tailwind
colors: {
  custom: {
    50: '#85b6db',
    500: '#4098cc',
    950: '#000000',
  },
}
SCSS
$custom: #4098cc;
$custom-light: #85b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#4098cc",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 202.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.11396,
    "h": 238.1
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#4098CC
secondary
#D2AC95
accent
#8047E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1115
muted
#7D8083

Preview Lab

Preview with #4098CC

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

Preview Lab → · Contrast checker → · Palette generator →

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