#284BA6#284BA6

#284BA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.152 H 264.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#284BA6
RGBrgb(40, 75, 166)
HSLhsl(223, 61%, 40%)
HSVhsv(223, 76%, 65%)
CMYKcmyk(75.9%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.47, 20.63, -52.70)
CIE-LCHlch(34.47, 56.59, 291.38°)
OKLaboklab(44.25% -0.0136 -0.1519)
OKLCHoklch(44.25% 0.152 264.9)
XYZxyz(10.2717, 8.2353, 37.1172)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA6 #A68328
analogous
#288AA6 #284BA6 #4428A6
triadic
#284BA6 #A6284B #4BA628
tetradic
#284BA6 #A6288A #A68328 #28A644
square
#284BA6 #A6288A #A68328 #28A644
split-complementary
#284BA6 #A64428 #8AA628
monochromatic
#101E43 #1C3575 #284BA6 #3B65D0 #6D8CDC

Accessibility & contrast

On white

7.93
#284BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#284BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA6#FFFFFF#000000##FFFFFF
##284BA61.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284ba6;
/* rgb */ color: rgb(40, 75, 166);
/* oklch */ color: oklch(44.2% 0.152 264.9);
Tailwind
colors: {
  custom: {
    50: '#757cc1',
    500: '#284ba6',
    950: '#000000',
  },
}
SCSS
$custom: #284ba6;
$custom-light: #757cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba6",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 223.333,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.15246,
    "h": 264.9
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#284BA6
secondary
#C2A967
accent
#B844E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #284BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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