#284BAA#284BAA

#284BAA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.158 H 265.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#284BAA
RGBrgb(40, 75, 170)
HSLhsl(224, 62%, 41%)
HSVhsv(224, 76%, 67%)
CMYKcmyk(76.5%, 55.9%, 0%, 33.3%)
CIE-LABlab(34.77, 22.17, -54.60)
CIE-LCHlch(34.77, 58.92, 292.10°)
OKLaboklab(44.57% -0.0133 -0.1574)
OKLCHoklch(44.57% 0.158 265.2)
XYZxyz(10.6443, 8.3844, 39.0798)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BAA #AA8728
analogous
#288CAA #284BAA #4628AA
triadic
#284BAA #AA284B #4BAA28
tetradic
#284BAA #AA288C #AA8728 #28AA46
square
#284BAA #AA288C #AA8728 #28AA46
split-complementary
#284BAA #AA4628 #8CAA28
monochromatic
#111F47 #1C3578 #284BAA #3E65D2 #6F8DDD

Accessibility & contrast

On white

7.84
#284BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#284BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BAA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BAA#FFFFFF#000000##FFFFFF
##284BAA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284baa;
/* rgb */ color: rgb(40, 75, 170);
/* oklch */ color: oklch(44.6% 0.158 265.2);
Tailwind
colors: {
  custom: {
    50: '#767cc4',
    500: '#284baa',
    950: '#000000',
  },
}
SCSS
$custom: #284baa;
$custom-light: #767cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#284baa",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 223.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.15799,
    "h": 265.2
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#284BAA
secondary
#C4AC6A
accent
#B943E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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