#288AAF#288AAF

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

Color values

HEX#288AAF
RGBrgb(40, 138, 175)
HSLhsl(196, 63%, 42%)
HSVhsv(196, 77%, 69%)
CMYKcmyk(77.1%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.73, -15.04, -27.43)
CIE-LCHlch(53.73, 31.28, 241.26°)
OKLaboklab(59.47% -0.0688 -0.077)
OKLCHoklch(59.47% 0.103 228.2)
XYZxyz(17.6982, 21.7211, 43.8089)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288AAF #AF4D28
analogous
#28AF90 #288AAF #2847AF
triadic
#288AAF #AF288A #8AAF28
tetradic
#288AAF #9028AF #AF4D28 #47AF28
square
#288AAF #9028AF #AF4D28 #47AF28
split-complementary
#288AAF #AF2847 #AF9028
monochromatic
#113B4B #1D637D #288AAF #41ABD4 #73C1DF

Accessibility & contrast

On white

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

On black

5.34
#288AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288AAF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288AAF#FFFFFF#000000##000000
##288AAF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.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: #288aaf;
/* rgb */ color: rgb(40, 138, 175);
/* oklch */ color: oklch(59.5% 0.103 228.2);
Tailwind
colors: {
  custom: {
    50: '#77acc7',
    500: '#288aaf',
    950: '#000000',
  },
}
SCSS
$custom: #288aaf;
$custom-light: #77acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#288aaf",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 196.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.10331,
    "h": 228.2
  },
  "luminance": 0.21723
}

Semantic roles & 50–950 ramp

primary
#288AAF
secondary
#C6856D
accent
#6F42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #288AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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