#285AAF#285AAF

#285AAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.146 H 260.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#285AAF
RGBrgb(40, 90, 175)
HSLhsl(218, 63%, 42%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(77.1%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.34, 14.14, -50.17)
CIE-LCHlch(39.34, 52.13, 285.74°)
OKLaboklab(48.16% -0.0246 -0.1441)
OKLCHoklch(48.16% 0.146 260.3)
XYZxyz(12.2663, 10.8572, 41.9983)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285AAF #AF7D28
analogous
#289EAF #285AAF #3A28AF
triadic
#285AAF #AF285A #5AAF28
tetradic
#285AAF #AF289E #AF7D28 #28AF3A
square
#285AAF #AF289E #AF7D28 #28AF3A
split-complementary
#285AAF #AF3A28 #9EAF28
monochromatic
#11274B #1D407D #285AAF #4177D4 #739BDF

Accessibility & contrast

On white

6.62
#285AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#285AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285AAF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285AAF#FFFFFF#000000##FFFFFF
##285AAF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285aaf;
/* rgb */ color: rgb(40, 90, 175);
/* oklch */ color: oklch(48.2% 0.146 260.3);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#285aaf',
    950: '#000000',
  },
}
SCSS
$custom: #285aaf;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#285aaf",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 217.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.14622,
    "h": 260.3
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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