#298AAF#298AAF

#298AAF is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.103 H 228.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#298AAF
RGBrgb(41, 138, 175)
HSLhsl(197, 62%, 42%)
HSVhsv(197, 77%, 69%)
CMYKcmyk(76.6%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.75, -14.92, -27.39)
CIE-LCHlch(53.75, 31.19, 241.42°)
OKLaboklab(59.5% -0.0684 -0.0769)
OKLCHoklch(59.5% 0.103 228.4)
XYZxyz(17.7376, 21.7414, 43.8108)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298AAF #AF4E29
analogous
#29AF91 #298AAF #2947AF
triadic
#298AAF #AF298A #8AAF29
tetradic
#298AAF #9129AF #AF4E29 #47AF29
square
#298AAF #9129AF #AF4E29 #47AF29
split-complementary
#298AAF #AF2947 #AF9129
monochromatic
#123C4C #1D637D #298AAF #42ABD3 #74C1DE

Accessibility & contrast

On white

3.93
#298AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#298AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298AAF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298AAF#FFFFFF#000000##000000
##298AAF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #298aaf;
/* rgb */ color: rgb(41, 138, 175);
/* oklch */ color: oklch(59.5% 0.103 228.4);
Tailwind
colors: {
  custom: {
    50: '#77acc7',
    500: '#298aaf',
    950: '#000000',
  },
}
SCSS
$custom: #298aaf;
$custom-light: #77acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#298aaf",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 196.567,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.10293,
    "h": 228.4
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#298AAF
secondary
#C6866E
accent
#7043E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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