#285BB1#285BB1

#285BB1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.148 H 260.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#285BB1
RGBrgb(40, 91, 177)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(77.4%, 48.6%, 0%, 30.6%)
CIE-LABlab(39.76, 14.26, -50.68)
CIE-LCHlch(39.76, 52.65, 285.72°)
OKLaboklab(48.53% -0.0251 -0.1456)
OKLCHoklch(48.53% 0.148 260.2)
XYZxyz(12.5491, 11.1062, 43.0688)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BB1 #B17E28
analogous
#28A0B1 #285BB1 #3928B1
triadic
#285BB1 #B1285B #5BB128
tetradic
#285BB1 #B128A0 #B17E28 #28B139
square
#285BB1 #B128A0 #B17E28 #28B139
split-complementary
#285BB1 #B13928 #A0B128
monochromatic
#11284D #1D417F #285BB1 #4278D4 #749CE0

Accessibility & contrast

On white

6.52
#285BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#285BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BB1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BB1#FFFFFF#000000##FFFFFF
##285BB11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285bb1;
/* rgb */ color: rgb(40, 91, 177);
/* oklch */ color: oklch(48.5% 0.148 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c9',
    500: '#285bb1',
    950: '#000000',
  },
}
SCSS
$custom: #285bb1;
$custom-light: #7688c9;
$custom-dark: #000000;
JSON
{
  "hex": "#285bb1",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 217.664,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.14775,
    "h": 260.2
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#285BB1
secondary
#C7A66E
accent
#A942E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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