#4098BB#4098BB

#4098BB is a light, moderate cyan. Relative luminance 0.271; OKLCH L 64.1% C 0.098 H 227.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4098BB
RGBrgb(64, 152, 187)
HSLhsl(197, 49%, 49%)
HSVhsv(197, 66%, 73%)
CMYKcmyk(65.8%, 18.7%, 0%, 26.7%)
CIE-LABlab(59.10, -15.27, -25.91)
CIE-LCHlch(59.10, 30.07, 239.50°)
OKLaboklab(64.1% -0.0661 -0.0724)
OKLCHoklch(64.1% 0.098 227.6)
XYZxyz(22.3087, 27.1319, 51.0654)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098BB #BB6340
analogous
#40BBA1 #4098BB #405BBB
triadic
#4098BB #BB4098 #98BB40
tetradic
#4098BB #A140BB #BB6340 #5BBB40
square
#4098BB #A140BB #BB6340 #5BBB40
split-complementary
#4098BB #BB405B #BBA140
monochromatic
#214E60 #30738D #4098BB #6CB1CD #99C9DC

Accessibility & contrast

On white

3.27
#4098BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#4098BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098BB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098BB#FFFFFF#000000##000000
##4098BB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8695BD
Deuteranopia (green-blind)
#7489BB
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4098bb;
/* rgb */ color: rgb(64, 152, 187);
/* oklch */ color: oklch(64.1% 0.098 227.6);
Tailwind
colors: {
  custom: {
    50: '#82b6cf',
    500: '#4098bb',
    950: '#000000',
  },
}
SCSS
$custom: #4098bb;
$custom-light: #82b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4098bb",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 197.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.09809,
    "h": 227.6
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#4098BB
secondary
#C89F8F
accent
#764FD9
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #4098BB

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

Preview Lab → · Contrast checker → · Palette generator →

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