#286791#286791

#286791 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.093 H 241.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#286791
RGBrgb(40, 103, 145)
HSLhsl(204, 57%, 36%)
HSVhsv(204, 72%, 57%)
CMYKcmyk(72.4%, 29%, 0%, 43.1%)
CIE-LABlab(41.52, -5.52, -28.85)
CIE-LCHlch(41.52, 29.38, 259.18°)
OKLaboklab(49.31% -0.0442 -0.0815)
OKLCHoklch(49.31% 0.093 241.5)
XYZxyz(10.8342, 12.1947, 28.5654)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286791 #915228
analogous
#289187 #286791 #283391
triadic
#286791 #912867 #679128
tetradic
#286791 #872891 #915228 #339128
square
#286791 #872891 #915228 #339128
split-complementary
#286791 #912833 #918728
monochromatic
#0E2331 #1B4561 #286791 #3589C1 #60A5D3

Accessibility & contrast

On white

6.11
#286791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#286791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286791
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286791#FFFFFF#000000##FFFFFF
##2867911.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546893
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286791;
/* rgb */ color: rgb(40, 103, 145);
/* oklch */ color: oklch(49.3% 0.093 241.5);
Tailwind
colors: {
  custom: {
    50: '#7092b1',
    500: '#286791',
    950: '#000000',
  },
}
SCSS
$custom: #286791;
$custom-light: #7092b1;
$custom-dark: #000000;
JSON
{
  "hex": "#286791",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 204,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.09271,
    "h": 241.5
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#286791
secondary
#B9815C
accent
#8548E0
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #286791

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

Preview Lab → · Contrast checker → · Palette generator →

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