#288CB2#288CB2

#288CB2 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.105 H 228.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#288CB2
RGBrgb(40, 140, 178)
HSLhsl(197, 63%, 43%)
HSVhsv(197, 78%, 70%)
CMYKcmyk(77.5%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.47, -15.10, -28.00)
CIE-LCHlch(54.47, 31.81, 241.66°)
OKLaboklab(60.11% -0.0697 -0.0787)
OKLCHoklch(60.11% 0.105 228.5)
XYZxyz(18.2857, 22.4194, 45.4745)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288CB2 #B24E28
analogous
#28B293 #288CB2 #2847B2
triadic
#288CB2 #B2288C #8CB228
tetradic
#288CB2 #9328B2 #B24E28 #47B228
square
#288CB2 #9328B2 #B24E28 #47B228
split-complementary
#288CB2 #B22847 #B29328
monochromatic
#123D4E #1D6580 #288CB2 #43ACD5 #75C2E0

Accessibility & contrast

On white

3.83
#288CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#288CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288CB2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288CB2#FFFFFF#000000##000000
##288CB21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #288cb2;
/* rgb */ color: rgb(40, 140, 178);
/* oklch */ color: oklch(60.1% 0.105 228.5);
Tailwind
colors: {
  custom: {
    50: '#77adc9',
    500: '#288cb2',
    950: '#000000',
  },
}
SCSS
$custom: #288cb2;
$custom-light: #77adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#288cb2",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 196.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.10508,
    "h": 228.5
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#288CB2
secondary
#C7876F
accent
#6F41E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #288CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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