#286895#286895

#286895 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.097 H 243.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#286895
RGBrgb(40, 104, 149)
HSLhsl(205, 58%, 37%)
HSVhsv(205, 73%, 58%)
CMYKcmyk(73.2%, 30.2%, 0%, 41.6%)
CIE-LABlab(42.03, -4.66, -30.45)
CIE-LCHlch(42.03, 30.80, 261.31°)
OKLaboklab(49.78% -0.0439 -0.0861)
OKLCHoklch(49.78% 0.097 243)
XYZxyz(11.2481, 12.5204, 30.2518)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286895 #955528
analogous
#28958C #286895 #283195
triadic
#286895 #952868 #689528
tetradic
#286895 #8C2895 #955528 #319528
square
#286895 #8C2895 #955528 #319528
split-complementary
#286895 #952831 #958C28
monochromatic
#0E2535 #1B4665 #286895 #358AC5 #62A6D5

Accessibility & contrast

On white

5.99
#286895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#286895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286895
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286895#FFFFFF#000000##FFFFFF
##2868951.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536997
Deuteranopia (green-blind)
#445F94
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #286895;
/* rgb */ color: rgb(40, 104, 149);
/* oklch */ color: oklch(49.8% 0.097 243.0);
Tailwind
colors: {
  custom: {
    50: '#7192b4',
    500: '#286895',
    950: '#000000',
  },
}
SCSS
$custom: #286895;
$custom-light: #7192b4;
$custom-dark: #000000;
JSON
{
  "hex": "#286895",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 149
  },
  "hsl": {
    "h": 204.771,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.09666,
    "h": 243
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#286895
secondary
#BB845E
accent
#8647E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #286895

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

Preview Lab → · Contrast checker → · Palette generator →

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