#284DAF#284DAF

#284DAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.162 H 264.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#284DAF
RGBrgb(40, 77, 175)
HSLhsl(224, 63%, 42%)
HSVhsv(224, 77%, 69%)
CMYKcmyk(77.1%, 56%, 0%, 31.4%)
CIE-LABlab(35.70, 22.76, -56.06)
CIE-LCHlch(35.70, 60.51, 292.09°)
OKLaboklab(45.39% -0.0144 -0.1617)
OKLCHoklch(45.39% 0.162 264.9)
XYZxyz(11.2641, 8.8527, 41.6642)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DAF #AF8A28
analogous
#2890AF #284DAF #4728AF
triadic
#284DAF #AF284D #4DAF28
tetradic
#284DAF #AF2890 #AF8A28 #28AF47
square
#284DAF #AF2890 #AF8A28 #28AF47
split-complementary
#284DAF #AF4728 #90AF28
monochromatic
#11214B #1D377D #284DAF #4169D4 #7390DF

Accessibility & contrast

On white

7.58
#284DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#284DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DAF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DAF#FFFFFF#000000##FFFFFF
##284DAF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284daf;
/* rgb */ color: rgb(40, 77, 175);
/* oklch */ color: oklch(45.4% 0.162 264.9);
Tailwind
colors: {
  custom: {
    50: '#777ec8',
    500: '#284daf',
    950: '#000000',
  },
}
SCSS
$custom: #284daf;
$custom-light: #777ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#284daf",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 223.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.16235,
    "h": 264.9
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#284DAF
secondary
#C6AE6D
accent
#B942E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284DAF

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

Preview Lab → · Contrast checker → · Palette generator →

#284DAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva