#285AAC#285AAC

#285AAC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.142 H 259.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#285AAC
RGBrgb(40, 90, 172)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 77%, 67%)
CMYKcmyk(76.7%, 47.7%, 0%, 32.5%)
CIE-LABlab(39.14, 12.98, -48.72)
CIE-LCHlch(39.14, 50.42, 284.92°)
OKLaboklab(47.95% -0.025 -0.1399)
OKLCHoklch(47.95% 0.142 259.8)
XYZxyz(11.9749, 10.7406, 40.4638)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AAC #AC7A28
analogous
#289CAC #285AAC #3828AC
triadic
#285AAC #AC285A #5AAC28
tetradic
#285AAC #AC289C #AC7A28 #28AC38
square
#285AAC #AC289C #AC7A28 #28AC38
split-complementary
#285AAC #AC3828 #9CAC28
monochromatic
#112649 #1C407A #285AAC #3F77D2 #719ADE

Accessibility & contrast

On white

6.67
#285AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#285AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AAC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AAC#FFFFFF#000000##FFFFFF
##285AAC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#0657AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #285aac;
/* rgb */ color: rgb(40, 90, 172);
/* oklch */ color: oklch(47.9% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#7588c5',
    500: '#285aac',
    950: '#000000',
  },
}
SCSS
$custom: #285aac;
$custom-light: #7588c5;
$custom-dark: #000000;
JSON
{
  "hex": "#285aac",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 217.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.1421,
    "h": 259.8
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#285AAC
secondary
#C5A36B
accent
#A842E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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