#284AA3#284AA3

#284AA3 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.150 H 265.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#284AA3
RGBrgb(40, 74, 163)
HSLhsl(223, 61%, 40%)
HSVhsv(223, 75%, 64%)
CMYKcmyk(75.5%, 54.6%, 0%, 36.1%)
CIE-LABlab(33.97, 20.14, -51.71)
CIE-LCHlch(33.97, 55.50, 291.28°)
OKLaboklab(43.8% -0.0131 -0.149)
OKLCHoklch(43.8% 0.15 265)
XYZxyz(9.9324, 7.9919, 35.6624)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AA3 #A38128
analogous
#2887A3 #284AA3 #4428A3
triadic
#284AA3 #A3284A #4AA328
tetradic
#284AA3 #A32887 #A38128 #28A344
square
#284AA3 #A32887 #A38128 #28A344
split-complementary
#284AA3 #A34428 #87A328
monochromatic
#101D41 #1C3472 #284AA3 #3A63CF #6B8ADB

Accessibility & contrast

On white

8.08
#284AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#284AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AA3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AA3#FFFFFF#000000##FFFFFF
##284AA31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284aa3;
/* rgb */ color: rgb(40, 74, 163);
/* oklch */ color: oklch(43.8% 0.150 265.0);
Tailwind
colors: {
  custom: {
    50: '#747cbf',
    500: '#284aa3',
    950: '#000000',
  },
}
SCSS
$custom: #284aa3;
$custom-light: #747cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#284aa3",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 223.415,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.14954,
    "h": 265
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#284AA3
secondary
#C1A866
accent
#B844E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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