#286271#286271

#286271 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.4% C 0.064 H 217.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#286271
RGBrgb(40, 98, 113)
HSLhsl(192, 48%, 30%)
HSVhsv(192, 65%, 44%)
CMYKcmyk(64.6%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.51, -13.83, -14.11)
CIE-LCHlch(38.51, 19.76, 225.56°)
OKLaboklab(46.44% -0.051 -0.0392)
OKLCHoklch(46.44% 0.064 217.6)
XYZxyz(8.2222, 10.3779, 17.1894)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286271 #713728
analogous
#28715C #286271 #283D71
triadic
#286271 #712862 #627128
tetradic
#286271 #5C2871 #713728 #3D7128
square
#286271 #5C2871 #713728 #3D7128
split-complementary
#286271 #71283D #715C28
monochromatic
#081417 #183B44 #286271 #38899E #52ABC2

Accessibility & contrast

On white

6.83
#286271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#286271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286271
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286271#FFFFFF#000000##FFFFFF
##2862711.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#4E5771
Tritanopia (blue-blind)
#006767
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #286271;
/* rgb */ color: rgb(40, 98, 113);
/* oklch */ color: oklch(46.4% 0.064 217.6);
Tailwind
colors: {
  custom: {
    50: '#6b8e99',
    500: '#286271',
    950: '#000000',
  },
}
SCSS
$custom: #286271;
$custom-light: #6b8e99;
$custom-dark: #000000;
JSON
{
  "hex": "#286271",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 192.329,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.06432,
    "h": 217.6
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#286271
secondary
#A36252
accent
#6C50D7
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #286271

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

Preview Lab → · Contrast checker → · Palette generator →

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