#285AC3#285AC3

#285AC3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.173 H 262.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#285AC3
RGBrgb(40, 90, 195)
HSLhsl(221, 66%, 46%)
HSVhsv(221, 79%, 76%)
CMYKcmyk(79.5%, 53.8%, 0%, 23.5%)
CIE-LABlab(40.74, 21.85, -59.62)
CIE-LCHlch(40.74, 63.50, 290.13°)
OKLaboklab(49.68% -0.0221 -0.1719)
OKLCHoklch(49.68% 0.173 262.7)
XYZxyz(14.3780, 11.7019, 53.1201)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AC3 #C39128
analogous
#28A7C3 #285AC3 #4328C3
triadic
#285AC3 #C3285A #5AC328
tetradic
#285AC3 #C328A7 #C39128 #28C343
square
#285AC3 #C328A7 #C39128 #28C343
split-complementary
#285AC3 #C34328 #A7C328
monochromatic
#132B5D #1E4390 #285AC3 #4E7BDB #80A1E5

Accessibility & contrast

On white

6.29
#285AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#285AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AC3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AC3#FFFFFF#000000##FFFFFF
##285AC31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285ac3;
/* rgb */ color: rgb(40, 90, 195);
/* oklch */ color: oklch(49.7% 0.173 262.7);
Tailwind
colors: {
  custom: {
    50: '#7b88d6',
    500: '#285ac3',
    950: '#000000',
  },
}
SCSS
$custom: #285ac3;
$custom-light: #7b88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#285ac3",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 220.645,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.17336,
    "h": 262.7
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#285AC3
secondary
#CEB279
accent
#B23FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #285AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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