#4098DF#4098DF

#4098DF is a light, vivid cyan. Relative luminance 0.289; OKLCH L 65.9% C 0.135 H 246.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4098DF
RGBrgb(64, 152, 223)
HSLhsl(207, 71%, 56%)
HSVhsv(207, 71%, 87%)
CMYKcmyk(71.3%, 31.8%, 0%, 12.5%)
CIE-LABlab(60.67, -3.18, -43.63)
CIE-LCHlch(60.67, 43.74, 265.83°)
OKLaboklab(65.87% -0.0543 -0.1236)
OKLCHoklch(65.87% 0.135 246.3)
XYZxyz(26.6568, 28.8712, 73.9655)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098DF #DF8740
analogous
#40DFD6 #4098DF #4049DF
triadic
#4098DF #DF4098 #98DF40
tetradic
#4098DF #D640DF #DF8740 #49DF40
square
#4098DF #D640DF #DF8740 #49DF40
split-complementary
#4098DF #DF4049 #DFD640
monochromatic
#18598D #207AC1 #4098DF #74B4E8 #A9D1F1

Accessibility & contrast

On white

3.10
#4098DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#4098DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098DF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098DF#FFFFFF#000000##000000
##4098DF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#628CDE
Tritanopia (blue-blind)
#00A9B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #4098df;
/* rgb */ color: rgb(64, 152, 223);
/* oklch */ color: oklch(65.9% 0.135 246.3);
Tailwind
colors: {
  custom: {
    50: '#88b6e9',
    500: '#4098df',
    950: '#000000',
  },
}
SCSS
$custom: #4098df;
$custom-light: #88b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4098df",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 206.792,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65866,
    "c": 0.13504,
    "h": 246.3
  },
  "luminance": 0.28874
}

Semantic roles & 50–950 ramp

primary
#4098DF
secondary
#DEBA9D
accent
#8A3AEE
background
#F9FBFE
surface
#F1F6FD
border
#CBD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #4098DF

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

Preview Lab → · Contrast checker → · Palette generator →

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