#285BB2#285BB2

#285BB2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.149 H 260.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#285BB2
RGBrgb(40, 91, 178)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 78%, 70%)
CMYKcmyk(77.5%, 48.9%, 0%, 30.2%)
CIE-LABlab(39.83, 14.65, -51.16)
CIE-LCHlch(39.83, 53.21, 285.98°)
OKLaboklab(48.6% -0.0249 -0.147)
OKLCHoklch(48.6% 0.149 260.4)
XYZxyz(12.6491, 11.1462, 43.5956)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285BB2 #B27F28
analogous
#28A0B2 #285BB2 #3A28B2
triadic
#285BB2 #B2285B #5BB228
tetradic
#285BB2 #B228A0 #B27F28 #28B23A
square
#285BB2 #B228A0 #B27F28 #28B23A
split-complementary
#285BB2 #B23A28 #A0B228
monochromatic
#12284E #1D4180 #285BB2 #4379D5 #759CE0

Accessibility & contrast

On white

6.50
#285BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#285BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285BB2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285BB2#FFFFFF#000000##FFFFFF
##285BB21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285bb2;
/* rgb */ color: rgb(40, 91, 178);
/* oklch */ color: oklch(48.6% 0.149 260.4);
Tailwind
colors: {
  custom: {
    50: '#7788ca',
    500: '#285bb2',
    950: '#000000',
  },
}
SCSS
$custom: #285bb2;
$custom-light: #7788ca;
$custom-dark: #000000;
JSON
{
  "hex": "#285bb2",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 217.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.486,
    "c": 0.14912,
    "h": 260.4
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#285BB2
secondary
#C7A66F
accent
#A941E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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