#285BB4#285BB4

#285BB4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.152 H 260.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#285BB4
RGBrgb(40, 91, 180)
HSLhsl(218, 64%, 43%)
HSVhsv(218, 78%, 71%)
CMYKcmyk(77.8%, 49.4%, 0%, 29.4%)
CIE-LABlab(39.96, 15.42, -52.12)
CIE-LCHlch(39.96, 54.35, 286.48°)
OKLaboklab(48.75% -0.0246 -0.1498)
OKLCHoklch(48.75% 0.152 260.7)
XYZxyz(12.8514, 11.2271, 44.6609)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BB4 #B48128
analogous
#28A1B4 #285BB4 #3B28B4
triadic
#285BB4 #B4285B #5BB428
tetradic
#285BB4 #B428A1 #B48128 #28B43B
square
#285BB4 #B428A1 #B48128 #28B43B
split-complementary
#285BB4 #B43B28 #A1B428
monochromatic
#122850 #1D4282 #285BB4 #4479D5 #769DE1

Accessibility & contrast

On white

6.47
#285BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#285BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BB4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BB4#FFFFFF#000000##FFFFFF
##285BB41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285bb4;
/* rgb */ color: rgb(40, 91, 180);
/* oklch */ color: oklch(48.7% 0.152 260.7);
Tailwind
colors: {
  custom: {
    50: '#7788cb',
    500: '#285bb4',
    950: '#000000',
  },
}
SCSS
$custom: #285bb4;
$custom-light: #7788cb;
$custom-dark: #000000;
JSON
{
  "hex": "#285bb4",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 218.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.15185,
    "h": 260.7
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#285BB4
secondary
#C8A870
accent
#AA41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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