#285295#285295

#285295 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.120 H 259.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#285295
RGBrgb(40, 82, 149)
HSLhsl(217, 58%, 37%)
HSVhsv(217, 73%, 58%)
CMYKcmyk(73.2%, 45%, 0%, 41.6%)
CIE-LABlab(35.31, 9.36, -41.11)
CIE-LCHlch(35.31, 42.16, 282.83°)
OKLaboklab(44.52% -0.022 -0.1176)
OKLCHoklch(44.52% 0.12 259.4)
XYZxyz(9.3152, 8.6546, 29.6075)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285295 #956B28
analogous
#288995 #285295 #352895
triadic
#285295 #952852 #529528
tetradic
#285295 #952889 #956B28 #289535
square
#285295 #952889 #956B28 #289535
split-complementary
#285295 #953528 #899528
monochromatic
#0E1D35 #1B3765 #285295 #356DC5 #628FD5

Accessibility & contrast

On white

7.69
#285295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#285295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285295
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285295#FFFFFF#000000##FFFFFF
##2852951.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315898
Deuteranopia (green-blind)
#1C4E94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285295;
/* rgb */ color: rgb(40, 82, 149);
/* oklch */ color: oklch(44.5% 0.120 259.4);
Tailwind
colors: {
  custom: {
    50: '#7082b4',
    500: '#285295',
    950: '#000000',
  },
}
SCSS
$custom: #285295;
$custom-light: #7082b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285295",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 216.881,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.11967,
    "h": 259.4
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#285295
secondary
#BB975E
accent
#A647E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285295

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

Preview Lab → · Contrast checker → · Palette generator →

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