#285EB3#285EB3

#285EB3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.147 H 259.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#285EB3
RGBrgb(40, 94, 179)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 78%, 70%)
CMYKcmyk(77.7%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.75, 13.07, -50.26)
CIE-LCHlch(40.75, 51.93, 284.58°)
OKLaboklab(49.33% -0.0272 -0.1443)
OKLCHoklch(49.33% 0.147 259.3)
XYZxyz(13.0115, 11.7097, 44.2135)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285EB3 #B37D28
analogous
#28A3B3 #285EB3 #3828B3
triadic
#285EB3 #B3285E #5EB328
tetradic
#285EB3 #B328A3 #B37D28 #28B338
square
#285EB3 #B328A3 #B37D28 #28B338
split-complementary
#285EB3 #B33828 #A3B328
monochromatic
#12294F #1D4481 #285EB3 #437CD5 #759FE0

Accessibility & contrast

On white

6.28
#285EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #285EB3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285EB3#FFFFFF#000000##FFFFFF
##285EB31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#045AB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #285eb3;
/* rgb */ color: rgb(40, 94, 179);
/* oklch */ color: oklch(49.3% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#778bca',
    500: '#285eb3',
    950: '#000000',
  },
}
SCSS
$custom: #285eb3;
$custom-light: #778bca;
$custom-dark: #000000;
JSON
{
  "hex": "#285eb3",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 216.691,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.14686,
    "h": 259.3
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#285EB3
secondary
#C8A56F
accent
#A641E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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