#287AAF#287AAF

#287AAF is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.113 H 241.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#287AAF
RGBrgb(40, 122, 175)
HSLhsl(204, 63%, 42%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(77.1%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.84, -5.90, -35.06)
CIE-LCHlch(48.84, 35.55, 260.45°)
OKLaboklab(55.58% -0.0533 -0.0993)
OKLCHoklch(55.58% 0.113 241.8)
XYZxyz(15.5694, 17.4635, 43.0993)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287AAF #AF5D28
analogous
#28AFA1 #287AAF #2836AF
triadic
#287AAF #AF287A #7AAF28
tetradic
#287AAF #A128AF #AF5D28 #36AF28
square
#287AAF #A128AF #AF5D28 #36AF28
split-complementary
#287AAF #AF2836 #AFA128
monochromatic
#11354B #1D577D #287AAF #419AD4 #73B4DF

Accessibility & contrast

On white

4.67
#287AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#287AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287AAF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287AAF#FFFFFF#000000##FFFFFF
##287AAF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287aaf;
/* rgb */ color: rgb(40, 122, 175);
/* oklch */ color: oklch(55.6% 0.113 241.8);
Tailwind
colors: {
  custom: {
    50: '#76a0c7',
    500: '#287aaf',
    950: '#000000',
  },
}
SCSS
$custom: #287aaf;
$custom-light: #76a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#287aaf",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 203.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.1127,
    "h": 241.8
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#287AAF
secondary
#C6906D
accent
#8242E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #287AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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