#287B97#287B97

#287B97 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.6% C 0.089 H 224.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#287B97
RGBrgb(40, 123, 151)
HSLhsl(195, 58%, 37%)
HSVhsv(195, 74%, 59%)
CMYKcmyk(73.5%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.07, -15.02, -22.24)
CIE-LCHlch(48.07, 26.84, 235.97°)
OKLaboklab(54.61% -0.0629 -0.0623)
OKLCHoklch(54.61% 0.089 224.7)
XYZxyz(13.5417, 16.8498, 31.8108)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B97 #974428
analogous
#28977B #287B97 #284497
triadic
#287B97 #97287B #7B9728
tetradic
#287B97 #7B2897 #974428 #449728
square
#287B97 #7B2897 #974428 #449728
split-complementary
#287B97 #972844 #977B28
monochromatic
#0E2C36 #1B5467 #287B97 #35A2C7 #64B9D6

Accessibility & contrast

On white

4.81
#287B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#287B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B97
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B97#FFFFFF#000000##FFFFFF
##287B971.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287b97;
/* rgb */ color: rgb(40, 123, 151);
/* oklch */ color: oklch(54.6% 0.089 224.7);
Tailwind
colors: {
  custom: {
    50: '#72a1b5',
    500: '#287b97',
    950: '#000000',
  },
}
SCSS
$custom: #287b97;
$custom-light: #72a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#287b97",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 195.135,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.08851,
    "h": 224.7
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#287B97
secondary
#BC775F
accent
#6E46E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #287B97

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

Preview Lab → · Contrast checker → · Palette generator →

#287B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva