#4098B5#4098B5

#4098B5 is a light, moderate cyan. Relative luminance 0.269; OKLCH L 63.8% C 0.094 H 223.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4098B5
RGBrgb(64, 152, 181)
HSLhsl(195, 48%, 48%)
HSVhsv(195, 65%, 71%)
CMYKcmyk(64.6%, 16%, 0%, 29%)
CIE-LABlab(58.86, -17.19, -22.88)
CIE-LCHlch(58.86, 28.62, 233.08°)
OKLaboklab(63.84% -0.0684 -0.0638)
OKLCHoklch(63.84% 0.094 223)
XYZxyz(21.6797, 26.8804, 47.7530)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098B5 #B55D40
analogous
#40B597 #4098B5 #405DB5
triadic
#4098B5 #B54098 #98B540
tetradic
#4098B5 #9740B5 #B55D40 #5DB540
square
#4098B5 #9740B5 #B55D40 #5DB540
split-complementary
#4098B5 #B5405D #B59740
monochromatic
#204C5B #307288 #4098B5 #68B2CA #96C9DA

Accessibility & contrast

On white

3.29
#4098B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#4098B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098B5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098B5#FFFFFF#000000##000000
##4098B51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8795B7
Deuteranopia (green-blind)
#7788B5
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4098b5;
/* rgb */ color: rgb(64, 152, 181);
/* oklch */ color: oklch(63.8% 0.094 223.0);
Tailwind
colors: {
  custom: {
    50: '#81b6cb',
    500: '#4098b5',
    950: '#000000',
  },
}
SCSS
$custom: #4098b5;
$custom-light: #81b6cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4098b5",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 181
  },
  "hsl": {
    "h": 194.872,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.63838,
    "c": 0.09356,
    "h": 223
  },
  "luminance": 0.26883
}

Semantic roles & 50–950 ramp

primary
#4098B5
secondary
#C59A8B
accent
#7250D7
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #4098B5

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

Preview Lab → · Contrast checker → · Palette generator →

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