#4098C2#4098C2

#4098C2 is a light, moderate cyan. Relative luminance 0.274; OKLCH L 64.4% C 0.104 H 232.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4098C2
RGBrgb(64, 152, 194)
HSLhsl(199, 52%, 51%)
HSVhsv(199, 67%, 76%)
CMYKcmyk(67%, 21.6%, 0%, 23.9%)
CIE-LABlab(59.38, -12.98, -29.42)
CIE-LCHlch(59.38, 32.16, 246.19°)
OKLaboklab(64.42% -0.0636 -0.0825)
OKLCHoklch(64.42% 0.104 232.4)
XYZxyz(23.0764, 27.4390, 55.1086)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098C2 #C26A40
analogous
#40C2AB #4098C2 #4057C2
triadic
#4098C2 #C24098 #98C240
tetradic
#4098C2 #AB40C2 #C26A40 #57C240
square
#4098C2 #AB40C2 #C26A40 #57C240
split-complementary
#4098C2 #C24057 #C2AB40
monochromatic
#215067 #307495 #4098C2 #6EB1D1 #9DCAE0

Accessibility & contrast

On white

3.24
#4098C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#4098C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098C2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098C2#FFFFFF#000000##000000
##4098C21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#00A3A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4098c2;
/* rgb */ color: rgb(64, 152, 194);
/* oklch */ color: oklch(64.4% 0.104 232.4);
Tailwind
colors: {
  custom: {
    50: '#83b6d4',
    500: '#4098c2',
    950: '#000000',
  },
}
SCSS
$custom: #4098c2;
$custom-light: #83b6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4098c2",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 194
  },
  "hsl": {
    "h": 199.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.10417,
    "h": 232.4
  },
  "luminance": 0.27442
}

Semantic roles & 50–950 ramp

primary
#4098C2
secondary
#CCA592
accent
#7B4DDB
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1114
muted
#7D8083

Preview Lab

Preview with #4098C2

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

Preview Lab → · Contrast checker → · Palette generator →

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