#285CB3#285CB3

#285CB3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#285CB3
RGBrgb(40, 92, 179)
HSLhsl(218, 63%, 43%)
HSVhsv(218, 78%, 70%)
CMYKcmyk(77.7%, 48.6%, 0%, 29.8%)
CIE-LABlab(40.18, 14.38, -51.18)
CIE-LCHlch(40.18, 53.16, 285.69°)
OKLaboklab(48.89% -0.0256 -0.1471)
OKLCHoklch(48.89% 0.149 260.1)
XYZxyz(12.8359, 11.3586, 44.1550)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285CB3 #B37F28
analogous
#28A1B3 #285CB3 #3A28B3
triadic
#285CB3 #B3285C #5CB328
tetradic
#285CB3 #B328A1 #B37F28 #28B33A
square
#285CB3 #B328A1 #B37F28 #28B33A
split-complementary
#285CB3 #B33A28 #A1B328
monochromatic
#12294F #1D4281 #285CB3 #437AD5 #759DE0

Accessibility & contrast

On white

6.42
#285CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#285CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285CB3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285CB3#FFFFFF#000000##FFFFFF
##285CB31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285cb3;
/* rgb */ color: rgb(40, 92, 179);
/* oklch */ color: oklch(48.9% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#7789ca',
    500: '#285cb3',
    950: '#000000',
  },
}
SCSS
$custom: #285cb3;
$custom-light: #7789ca;
$custom-dark: #000000;
JSON
{
  "hex": "#285cb3",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 217.554,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.14927,
    "h": 260.1
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#285CB3
secondary
#C8A76F
accent
#A941E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #285CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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