#284B93#284B93

#284B93 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.126 H 262.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#284B93
RGBrgb(40, 75, 147)
HSLhsl(220, 57%, 37%)
HSVhsv(220, 73%, 58%)
CMYKcmyk(72.8%, 49%, 0%, 42.4%)
CIE-LABlab(33.11, 13.26, -43.42)
CIE-LCHlch(33.11, 45.40, 286.99°)
OKLaboklab(42.79% -0.0158 -0.1245)
OKLCHoklch(42.79% 0.126 262.8)
XYZxyz(8.6557, 7.5889, 28.6067)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B93 #937028
analogous
#288193 #284B93 #3B2893
triadic
#284B93 #93284B #4B9328
tetradic
#284B93 #932881 #937028 #28933B
square
#284B93 #932881 #937028 #28933B
split-complementary
#284B93 #933B28 #819328
monochromatic
#0E1A33 #1B3263 #284B93 #3564C3 #6187D4

Accessibility & contrast

On white

8.34
#284B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#284B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B93
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B93#FFFFFF#000000##FFFFFF
##284B931.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#064992
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b93;
/* rgb */ color: rgb(40, 75, 147);
/* oklch */ color: oklch(42.8% 0.126 262.8);
Tailwind
colors: {
  custom: {
    50: '#707cb3',
    500: '#284b93',
    950: '#000000',
  },
}
SCSS
$custom: #284b93;
$custom-light: #707cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#284b93",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 220.374,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.12555,
    "h": 262.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#284B93
secondary
#BA9B5D
accent
#AE47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284B93

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

Preview Lab → · Contrast checker → · Palette generator →

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