#285290#285290

#285290 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.113 H 258.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#285290
RGBrgb(40, 82, 144)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 72%, 56%)
CMYKcmyk(72.2%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.00, 7.43, -38.57)
CIE-LCHlch(35.00, 39.28, 280.91°)
OKLaboklab(44.18% -0.0231 -0.1102)
OKLCHoklch(44.18% 0.113 258.2)
XYZxyz(8.9246, 8.4984, 27.5502)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285290 #906628
analogous
#288690 #285290 #322890
triadic
#285290 #902852 #529028
tetradic
#285290 #902886 #906628 #289032
square
#285290 #902886 #906628 #289032
split-complementary
#285290 #903228 #869028
monochromatic
#0D1B30 #1B3760 #285290 #356DC0 #608ED3

Accessibility & contrast

On white

7.78
#285290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285290
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285290#FFFFFF#000000##FFFFFF
##2852901.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345892
Deuteranopia (green-blind)
#234E8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285290;
/* rgb */ color: rgb(40, 82, 144);
/* oklch */ color: oklch(44.2% 0.113 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b1',
    500: '#285290',
    950: '#000000',
  },
}
SCSS
$custom: #285290;
$custom-light: #6f82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285290",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 215.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44178,
    "c": 0.11255,
    "h": 258.2
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#285290
secondary
#B8935C
accent
#A248E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285290

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

Preview Lab → · Contrast checker → · Palette generator →

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