#4098B2#4098B2

#4098B2 is a light, moderate cyan. Relative luminance 0.268; OKLCH L 63.7% C 0.092 H 220.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4098B2
RGBrgb(64, 152, 178)
HSLhsl(194, 47%, 47%)
HSVhsv(194, 64%, 70%)
CMYKcmyk(64%, 14.6%, 0%, 30.2%)
CIE-LABlab(58.75, -18.14, -21.35)
CIE-LCHlch(58.75, 28.02, 229.65°)
OKLaboklab(63.71% -0.0696 -0.0595)
OKLCHoklch(63.71% 0.092 220.5)
XYZxyz(21.3752, 26.7586, 46.1493)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4098B2 #B25A40
analogous
#40B293 #4098B2 #405FB2
triadic
#4098B2 #B24098 #98B240
tetradic
#4098B2 #9340B2 #B25A40 #5FB240
square
#4098B2 #9340B2 #B25A40 #5FB240
split-complementary
#4098B2 #B2405F #B29340
monochromatic
#204B58 #307285 #4098B2 #67B2C8 #94C9D8

Accessibility & contrast

On white

3.31
#4098B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#4098B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4098B2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4098B2#FFFFFF#000000##000000
##4098B21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B3
Deuteranopia (green-blind)
#7888B2
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4098b2;
/* rgb */ color: rgb(64, 152, 178);
/* oklch */ color: oklch(63.7% 0.092 220.5);
Tailwind
colors: {
  custom: {
    50: '#81b6c9',
    500: '#4098b2',
    950: '#000000',
  },
}
SCSS
$custom: #4098b2;
$custom-light: #81b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4098b2",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 193.684,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6371,
    "c": 0.09155,
    "h": 220.5
  },
  "luminance": 0.26761
}

Semantic roles & 50–950 ramp

primary
#4098B2
secondary
#C4978A
accent
#7051D7
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #4098B2

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

Preview Lab → · Contrast checker → · Palette generator →

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