#285DB3#285DB3

#285DB3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.148 H 259.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#285DB3
RGBrgb(40, 93, 179)
HSLhsl(217, 63%, 43%)
HSVhsv(217, 78%, 70%)
CMYKcmyk(77.7%, 48%, 0%, 29.8%)
CIE-LABlab(40.46, 13.73, -50.72)
CIE-LCHlch(40.46, 52.54, 285.14°)
OKLaboklab(49.11% -0.0264 -0.1457)
OKLCHoklch(49.11% 0.148 259.7)
XYZxyz(12.9231, 11.5330, 44.1841)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285DB3 #B37E28
analogous
#28A2B3 #285DB3 #3828B3
triadic
#285DB3 #B3285D #5DB328
tetradic
#285DB3 #B328A2 #B37E28 #28B338
square
#285DB3 #B328A2 #B37E28 #28B338
split-complementary
#285DB3 #B33828 #A2B328
monochromatic
#12294F #1D4381 #285DB3 #437BD5 #759EE0

Accessibility & contrast

On white

6.35
#285DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#285DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285DB3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285DB3#FFFFFF#000000##FFFFFF
##285DB31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #285db3;
/* rgb */ color: rgb(40, 93, 179);
/* oklch */ color: oklch(49.1% 0.148 259.7);
Tailwind
colors: {
  custom: {
    50: '#778aca',
    500: '#285db3',
    950: '#000000',
  },
}
SCSS
$custom: #285db3;
$custom-light: #778aca;
$custom-dark: #000000;
JSON
{
  "hex": "#285db3",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 217.122,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.14805,
    "h": 259.7
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#285DB3
secondary
#C8A66F
accent
#A841E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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