#285AAE#285AAE

#285AAE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.145 H 260.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#285AAE
RGBrgb(40, 90, 174)
HSLhsl(218, 63%, 42%)
HSVhsv(218, 77%, 68%)
CMYKcmyk(77%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.27, 13.76, -49.69)
CIE-LCHlch(39.27, 51.56, 285.48°)
OKLaboklab(48.09% -0.0247 -0.1427)
OKLCHoklch(48.09% 0.145 260.2)
XYZxyz(12.1684, 10.8180, 41.4830)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AAE #AE7C28
analogous
#289DAE #285AAE #3928AE
triadic
#285AAE #AE285A #5AAE28
tetradic
#285AAE #AE289D #AE7C28 #28AE39
square
#285AAE #AE289D #AE7C28 #28AE39
split-complementary
#285AAE #AE3928 #9DAE28
monochromatic
#11274A #1D407C #285AAE #4077D3 #729ADF

Accessibility & contrast

On white

6.64
#285AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#285AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AAE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AAE#FFFFFF#000000##FFFFFF
##285AAE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aae;
/* rgb */ color: rgb(40, 90, 174);
/* oklch */ color: oklch(48.1% 0.145 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#285aae',
    950: '#000000',
  },
}
SCSS
$custom: #285aae;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#285aae",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 217.612,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.14485,
    "h": 260.2
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#285AAE
secondary
#C6A46C
accent
#A942E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AAE

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

Preview Lab → · Contrast checker → · Palette generator →

#285AAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva