#4097BB#4097BB

#4097BB is a light, moderate cyan. Relative luminance 0.268; OKLCH L 63.9% C 0.098 H 228.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4097BB
RGBrgb(64, 151, 187)
HSLhsl(198, 49%, 49%)
HSVhsv(198, 66%, 73%)
CMYKcmyk(65.8%, 19.3%, 0%, 26.7%)
CIE-LABlab(58.80, -14.72, -26.37)
CIE-LCHlch(58.80, 30.20, 240.83°)
OKLaboklab(63.86% -0.0651 -0.0738)
OKLCHoklch(63.86% 0.098 228.6)
XYZxyz(22.1470, 26.8087, 51.0115)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4097BB #BB6440
analogous
#40BBA2 #4097BB #405ABB
triadic
#4097BB #BB4097 #97BB40
tetradic
#4097BB #A240BB #BB6440 #5ABB40
square
#4097BB #A240BB #BB6440 #5ABB40
split-complementary
#4097BB #BB405A #BBA240
monochromatic
#214D60 #30728D #4097BB #6CB0CD #99C9DC

Accessibility & contrast

On white

3.30
#4097BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#4097BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4097BB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4097BB#FFFFFF#000000##000000
##4097BB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BD
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#00A1A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4097bb;
/* rgb */ color: rgb(64, 151, 187);
/* oklch */ color: oklch(63.9% 0.098 228.6);
Tailwind
colors: {
  custom: {
    50: '#82b5cf',
    500: '#4097bb',
    950: '#000000',
  },
}
SCSS
$custom: #4097bb;
$custom-light: #82b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4097bb",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 197.561,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.09838,
    "h": 228.6
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

primary
#4097BB
secondary
#C8A08F
accent
#774FD9
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #4097BB

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

Preview Lab → · Contrast checker → · Palette generator →

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