#4097CC#4097CC

#4097CC is a light, moderate cyan. Relative luminance 0.276; OKLCH L 64.7% C 0.115 H 238.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4097CC
RGBrgb(64, 151, 204)
HSLhsl(203, 58%, 53%)
HSVhsv(203, 69%, 80%)
CMYKcmyk(68.6%, 26%, 0%, 20%)
CIE-LABlab(59.51, -9.10, -34.84)
CIE-LCHlch(59.51, 36.01, 255.36°)
OKLaboklab(64.66% -0.0591 -0.0981)
OKLCHoklch(64.66% 0.115 238.9)
XYZxyz(24.0758, 27.5802, 61.1697)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4097CC #CC7540
analogous
#40CCBB #4097CC #4051CC
triadic
#4097CC #CC4097 #97CC40
tetradic
#4097CC #BB40CC #CC7540 #51CC40
square
#4097CC #BB40CC #CC7540 #51CC40
split-complementary
#4097CC #CC4051 #CCBB40
monochromatic
#1F5373 #2C76A3 #4097CC #70B1D9 #A1CCE6

Accessibility & contrast

On white

3.22
#4097CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#4097CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4097CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4097CC#FFFFFF#000000##000000
##4097CC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CE
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#00A4A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4097cc;
/* rgb */ color: rgb(64, 151, 204);
/* oklch */ color: oklch(64.7% 0.115 238.9);
Tailwind
colors: {
  custom: {
    50: '#85b5db',
    500: '#4097cc',
    950: '#000000',
  },
}
SCSS
$custom: #4097cc;
$custom-light: #85b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#4097cc",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 202.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.11458,
    "h": 238.9
  },
  "luminance": 0.27583
}

Semantic roles & 50–950 ramp

primary
#4097CC
secondary
#D2AD95
accent
#8147E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1115
muted
#7D8083

Preview Lab

Preview with #4097CC

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

Preview Lab → · Contrast checker → · Palette generator →

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