#298DB1#298DB1

#298DB1 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.104 H 227.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#298DB1
RGBrgb(41, 141, 177)
HSLhsl(196, 62%, 43%)
HSVhsv(196, 77%, 69%)
CMYKcmyk(76.8%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.76, -15.88, -26.98)
CIE-LCHlch(54.76, 31.31, 239.52°)
OKLaboklab(60.33% -0.0706 -0.0757)
OKLCHoklch(60.33% 0.104 227)
XYZxyz(18.3719, 22.6933, 44.9984)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298DB1 #B14D29
analogous
#29B191 #298DB1 #2949B1
triadic
#298DB1 #B1298D #8DB129
tetradic
#298DB1 #9129B1 #B14D29 #49B129
square
#298DB1 #9129B1 #B14D29 #49B129
split-complementary
#298DB1 #B12949 #B19129
monochromatic
#123E4E #1D657F #298DB1 #44ADD4 #75C3DF

Accessibility & contrast

On white

3.79
#298DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#298DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298DB1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298DB1#FFFFFF#000000##000000
##298DB11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB3
Deuteranopia (green-blind)
#687DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #298db1;
/* rgb */ color: rgb(41, 141, 177);
/* oklch */ color: oklch(60.3% 0.104 227.0);
Tailwind
colors: {
  custom: {
    50: '#78aec8',
    500: '#298db1',
    950: '#000000',
  },
}
SCSS
$custom: #298db1;
$custom-light: #78aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#298db1",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 195.882,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.10353,
    "h": 227
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#298DB1
secondary
#C7866F
accent
#6E42E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298DB1

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

Preview Lab → · Contrast checker → · Palette generator →

#298DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva