#288BAF#288BAF

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

Color values

HEX#288BAF
RGBrgb(40, 139, 175)
HSLhsl(196, 63%, 42%)
HSVhsv(196, 77%, 69%)
CMYKcmyk(77.1%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.04, -15.59, -26.95)
CIE-LCHlch(54.04, 31.14, 239.95°)
OKLaboklab(59.72% -0.0698 -0.0757)
OKLCHoklch(59.72% 0.103 227.3)
XYZxyz(17.8424, 22.0093, 43.8570)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288BAF #AF4C28
analogous
#28AF90 #288BAF #2848AF
triadic
#288BAF #AF288B #8BAF28
tetradic
#288BAF #9028AF #AF4C28 #48AF28
square
#288BAF #9028AF #AF4C28 #48AF28
split-complementary
#288BAF #AF2848 #AF9028
monochromatic
#113C4B #1D637D #288BAF #41ACD4 #73C2DF

Accessibility & contrast

On white

3.89
#288BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#288BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288BAF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288BAF#FFFFFF#000000##000000
##288BAF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.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: #288baf;
/* rgb */ color: rgb(40, 139, 175);
/* oklch */ color: oklch(59.7% 0.103 227.3);
Tailwind
colors: {
  custom: {
    50: '#77adc7',
    500: '#288baf',
    950: '#000000',
  },
}
SCSS
$custom: #288baf;
$custom-light: #77adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#288baf",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 196,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.10295,
    "h": 227.3
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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