#285697#285697

#285697 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.118 H 257.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#285697
RGBrgb(40, 86, 151)
HSLhsl(215, 58%, 37%)
HSVhsv(215, 74%, 59%)
CMYKcmyk(73.5%, 43%, 0%, 40.8%)
CIE-LABlab(36.63, 7.50, -40.20)
CIE-LCHlch(36.63, 40.90, 280.56°)
OKLaboklab(45.58% -0.0254 -0.1149)
OKLCHoklch(45.58% 0.118 257.5)
XYZxyz(9.7867, 9.3400, 30.5592)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285697 #976928
analogous
#288E97 #285697 #312897
triadic
#285697 #972856 #569728
tetradic
#285697 #97288E #976928 #289731
square
#285697 #97288E #976928 #289731
split-complementary
#285697 #973128 #8E9728
monochromatic
#0E1F36 #1B3A67 #285697 #3572C7 #6493D6

Accessibility & contrast

On white

7.32
#285697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#285697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285697
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285697#FFFFFF#000000##FFFFFF
##2856971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#245196
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285697;
/* rgb */ color: rgb(40, 86, 151);
/* oklch */ color: oklch(45.6% 0.118 257.5);
Tailwind
colors: {
  custom: {
    50: '#7185b6',
    500: '#285697',
    950: '#000000',
  },
}
SCSS
$custom: #285697;
$custom-light: #7185b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285697",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 215.135,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.11767,
    "h": 257.5
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#285697
secondary
#BC955F
accent
#A146E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285697

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

Preview Lab → · Contrast checker → · Palette generator →

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