#298BAF#298BAF

#298BAF is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.103 H 227.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#298BAF
RGBrgb(41, 139, 175)
HSLhsl(196, 62%, 42%)
HSVhsv(196, 77%, 69%)
CMYKcmyk(76.6%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.06, -15.47, -26.91)
CIE-LCHlch(54.06, 31.05, 240.10°)
OKLaboklab(59.74% -0.0694 -0.0756)
OKLCHoklch(59.74% 0.103 227.4)
XYZxyz(17.8818, 22.0297, 43.8588)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298BAF #AF4D29
analogous
#29AF90 #298BAF #2948AF
triadic
#298BAF #AF298B #8BAF29
tetradic
#298BAF #9029AF #AF4D29 #48AF29
square
#298BAF #9029AF #AF4D29 #48AF29
split-complementary
#298BAF #AF2948 #AF9029
monochromatic
#123C4C #1D647D #298BAF #42ACD3 #74C2DE

Accessibility & contrast

On white

3.88
#298BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#298BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298BAF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298BAF#FFFFFF#000000##000000
##298BAF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888B1
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #298baf;
/* rgb */ color: rgb(41, 139, 175);
/* oklch */ color: oklch(59.7% 0.103 227.4);
Tailwind
colors: {
  custom: {
    50: '#77adc7',
    500: '#298baf',
    950: '#000000',
  },
}
SCSS
$custom: #298baf;
$custom-light: #77adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#298baf",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 196.119,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.10258,
    "h": 227.4
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#298BAF
secondary
#C6866E
accent
#6E43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #298BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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