#285097#285097

#285097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 260.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#285097
RGBrgb(40, 80, 151)
HSLhsl(218, 58%, 37%)
HSVhsv(218, 74%, 59%)
CMYKcmyk(73.5%, 47%, 0%, 40.8%)
CIE-LABlab(34.85, 11.46, -43.06)
CIE-LCHlch(34.85, 44.56, 284.91°)
OKLaboklab(44.2% -0.0198 -0.1234)
OKLCHoklch(44.2% 0.125 260.9)
XYZxyz(9.3276, 8.4218, 30.4061)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285097 #976F28
analogous
#288897 #285097 #372897
triadic
#285097 #972850 #509728
tetradic
#285097 #972888 #976F28 #289737
square
#285097 #972888 #976F28 #289737
split-complementary
#285097 #973728 #889728
monochromatic
#0E1D36 #1B3667 #285097 #356AC7 #648DD6

Accessibility & contrast

On white

7.82
#285097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285097
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285097#FFFFFF#000000##FFFFFF
##2850971.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285097;
/* rgb */ color: rgb(40, 80, 151);
/* oklch */ color: oklch(44.2% 0.125 260.9);
Tailwind
colors: {
  custom: {
    50: '#7180b6',
    500: '#285097',
    950: '#000000',
  },
}
SCSS
$custom: #285097;
$custom-light: #7180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285097",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 218.378,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.12498,
    "h": 260.9
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#285097
secondary
#BC9A5F
accent
#AA46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285097

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

Preview Lab → · Contrast checker → · Palette generator →

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