#4098CB#4098CB

#4098CB is a light, moderate cyan. Relative luminance 0.279; OKLCH L 64.8% C 0.113 H 237.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4098CB
RGBrgb(64, 152, 203)
HSLhsl(202, 57%, 52%)
HSVhsv(202, 68%, 80%)
CMYKcmyk(68.5%, 25.1%, 0%, 20.4%)
CIE-LABlab(59.76, -10.00, -33.89)
CIE-LCHlch(59.76, 35.33, 253.56°)
OKLaboklab(64.85% -0.0605 -0.0954)
OKLCHoklch(64.85% 0.113 237.6)
XYZxyz(24.1179, 27.8556, 60.5939)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098CB #CB7340
analogous
#40CBB8 #4098CB #4053CB
triadic
#4098CB #CB4098 #98CB40
tetradic
#4098CB #B840CB #CB7340 #53CB40
square
#4098CB #B840CB #CB7340 #53CB40
split-complementary
#4098CB #CB4053 #CBB840
monochromatic
#1F5372 #2C77A2 #4098CB #70B2D8 #A0CCE5

Accessibility & contrast

On white

3.20
#4098CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#4098CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098CB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098CB#FFFFFF#000000##000000
##4098CB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CD
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#00A5A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #4098cb;
/* rgb */ color: rgb(64, 152, 203);
/* oklch */ color: oklch(64.8% 0.113 237.6);
Tailwind
colors: {
  custom: {
    50: '#84b6db',
    500: '#4098cb',
    950: '#000000',
  },
}
SCSS
$custom: #4098cb;
$custom-light: #84b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#4098cb",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 202.014,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.11294,
    "h": 237.6
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#4098CB
secondary
#D2AB95
accent
#8047E0
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1115
muted
#7D8083

Preview Lab

Preview with #4098CB

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

Preview Lab → · Contrast checker → · Palette generator →

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