#284EAF#284EAF

#284EAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.161 H 264.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#284EAF
RGBrgb(40, 78, 175)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(77.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(35.97, 22.09, -55.62)
CIE-LCHlch(35.97, 59.84, 291.66°)
OKLaboklab(45.6% -0.0152 -0.1604)
OKLCHoklch(45.6% 0.161 264.6)
XYZxyz(11.3346, 8.9938, 41.6877)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EAF #AF8928
analogous
#2892AF #284EAF #4528AF
triadic
#284EAF #AF284E #4EAF28
tetradic
#284EAF #AF2892 #AF8928 #28AF45
square
#284EAF #AF2892 #AF8928 #28AF45
split-complementary
#284EAF #AF4528 #92AF28
monochromatic
#11224B #1D387D #284EAF #416AD4 #7391DF

Accessibility & contrast

On white

7.50
#284EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#284EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EAF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EAF#FFFFFF#000000##FFFFFF
##284EAF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284eaf;
/* rgb */ color: rgb(40, 78, 175);
/* oklch */ color: oklch(45.6% 0.161 264.6);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#284eaf',
    950: '#000000',
  },
}
SCSS
$custom: #284eaf;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#284eaf",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 223.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.16111,
    "h": 264.6
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#284EAF
secondary
#C6AD6D
accent
#B842E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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