#286F98#286F98

#286F98 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.095 H 238.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#286F98
RGBrgb(40, 111, 152)
HSLhsl(202, 58%, 38%)
HSVhsv(202, 74%, 60%)
CMYKcmyk(73.7%, 27%, 0%, 40.4%)
CIE-LABlab(44.36, -7.76, -28.60)
CIE-LCHlch(44.36, 29.63, 254.81°)
OKLaboklab(51.66% -0.0501 -0.0806)
OKLCHoklch(51.66% 0.095 238.1)
XYZxyz(12.2248, 14.0856, 31.7742)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F98 #985128
analogous
#289889 #286F98 #283798
triadic
#286F98 #98286F #6F9828
tetradic
#286F98 #892898 #985128 #379828
square
#286F98 #892898 #985128 #379828
split-complementary
#286F98 #982837 #988928
monochromatic
#0F2837 #1B4C68 #286F98 #3592C8 #64ACD6

Accessibility & contrast

On white

5.50
#286F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#286F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F98
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F98#FFFFFF#000000##FFFFFF
##286F981.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #286f98;
/* rgb */ color: rgb(40, 111, 152);
/* oklch */ color: oklch(51.7% 0.095 238.1);
Tailwind
colors: {
  custom: {
    50: '#7198b6',
    500: '#286f98',
    950: '#000000',
  },
}
SCSS
$custom: #286f98;
$custom-light: #7198b6;
$custom-dark: #000000;
JSON
{
  "hex": "#286f98",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 152
  },
  "hsl": {
    "h": 201.964,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.09495,
    "h": 238.1
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#286F98
secondary
#BC8260
accent
#7F46E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #286F98

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

Preview Lab → · Contrast checker → · Palette generator →

#286F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva