#286995#286995

#286995 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.0% C 0.096 H 242.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#286995
RGBrgb(40, 105, 149)
HSLhsl(204, 58%, 37%)
HSVhsv(204, 73%, 58%)
CMYKcmyk(73.2%, 29.5%, 0%, 41.6%)
CIE-LABlab(42.34, -5.26, -29.96)
CIE-LCHlch(42.34, 30.42, 260.04°)
OKLaboklab(50.02% -0.045 -0.0847)
OKLCHoklch(50.02% 0.096 242)
XYZxyz(11.3494, 12.7229, 30.2856)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286995 #955428
analogous
#28958B #286995 #283395
triadic
#286995 #952869 #699528
tetradic
#286995 #8B2895 #955428 #339528
square
#286995 #8B2895 #955428 #339528
split-complementary
#286995 #952833 #958B28
monochromatic
#0E2535 #1B4765 #286995 #358BC5 #62A7D5

Accessibility & contrast

On white

5.92
#286995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#286995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286995
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286995#FFFFFF#000000##FFFFFF
##2869951.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A97
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#007478
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286995;
/* rgb */ color: rgb(40, 105, 149);
/* oklch */ color: oklch(50.0% 0.096 242.0);
Tailwind
colors: {
  custom: {
    50: '#7193b4',
    500: '#286995',
    950: '#000000',
  },
}
SCSS
$custom: #286995;
$custom-light: #7193b4;
$custom-dark: #000000;
JSON
{
  "hex": "#286995",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 149
  },
  "hsl": {
    "h": 204.22,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.09587,
    "h": 242
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#286995
secondary
#BB835E
accent
#8547E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #286995

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

Preview Lab → · Contrast checker → · Palette generator →

#286995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva