#284BA2#284BA2

#284BA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.147 H 264.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#284BA2
RGBrgb(40, 75, 162)
HSLhsl(223, 60%, 40%)
HSVhsv(223, 75%, 64%)
CMYKcmyk(75.3%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.17, 19.08, -50.78)
CIE-LCHlch(34.17, 54.25, 290.59°)
OKLaboklab(43.93% -0.014 -0.1462)
OKLCHoklch(43.93% 0.147 264.5)
XYZxyz(9.9104, 8.0908, 35.2148)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BA2 #A27F28
analogous
#2888A2 #284BA2 #4228A2
triadic
#284BA2 #A2284B #4BA228
tetradic
#284BA2 #A22888 #A27F28 #28A242
square
#284BA2 #A22888 #A27F28 #28A242
split-complementary
#284BA2 #A24228 #88A228
monochromatic
#101E40 #1C3471 #284BA2 #3964CE #6A8ADA

Accessibility & contrast

On white

8.02
#284BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#284BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BA2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BA2#FFFFFF#000000##FFFFFF
##284BA21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284ba2;
/* rgb */ color: rgb(40, 75, 162);
/* oklch */ color: oklch(43.9% 0.147 264.5);
Tailwind
colors: {
  custom: {
    50: '#747cbe',
    500: '#284ba2',
    950: '#000000',
  },
}
SCSS
$custom: #284ba2;
$custom-light: #747cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#284ba2",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 222.787,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.14687,
    "h": 264.5
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#284BA2
secondary
#C1A665
accent
#B644E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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