#285095#285095

#285095 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.122 H 260.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#285095
RGBrgb(40, 80, 149)
HSLhsl(218, 58%, 37%)
HSVhsv(218, 73%, 58%)
CMYKcmyk(73.2%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.72, 10.69, -42.06)
CIE-LCHlch(34.72, 43.39, 284.26°)
OKLaboklab(44.06% -0.0201 -0.1204)
OKLCHoklch(44.06% 0.122 260.5)
XYZxyz(9.1666, 8.3574, 29.5580)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285095 #956D28
analogous
#288795 #285095 #372895
triadic
#285095 #952850 #509528
tetradic
#285095 #952887 #956D28 #289537
square
#285095 #952887 #956D28 #289537
split-complementary
#285095 #953728 #879528
monochromatic
#0E1C35 #1B3665 #285095 #356AC5 #628CD5

Accessibility & contrast

On white

7.86
#285095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285095
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285095#FFFFFF#000000##FFFFFF
##2850951.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285095;
/* rgb */ color: rgb(40, 80, 149);
/* oklch */ color: oklch(44.1% 0.122 260.5);
Tailwind
colors: {
  custom: {
    50: '#7080b4',
    500: '#285095',
    950: '#000000',
  },
}
SCSS
$custom: #285095;
$custom-light: #7080b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285095",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 217.982,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.12212,
    "h": 260.5
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#285095
secondary
#BB995E
accent
#A847E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285095

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

Preview Lab → · Contrast checker → · Palette generator →

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