#284B98#284B98

#284B98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.133 H 263.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#284B98
RGBrgb(40, 75, 152)
HSLhsl(221, 58%, 38%)
HSVhsv(221, 74%, 60%)
CMYKcmyk(73.7%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.46, 15.20, -45.90)
CIE-LCHlch(33.46, 48.36, 288.33°)
OKLaboklab(43.16% -0.0151 -0.1319)
OKLCHoklch(43.16% 0.133 263.5)
XYZxyz(9.0566, 7.7493, 30.7181)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B98 #987528
analogous
#288398 #284B98 #3D2898
triadic
#284B98 #98284B #4B9828
tetradic
#284B98 #982883 #987528 #28983D
square
#284B98 #982883 #987528 #28983D
split-complementary
#284B98 #983D28 #839828
monochromatic
#0F1B37 #1B3368 #284B98 #3563C8 #6488D6

Accessibility & contrast

On white

8.24
#284B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#284B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B98
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B98#FFFFFF#000000##FFFFFF
##284B981.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284b98;
/* rgb */ color: rgb(40, 75, 152);
/* oklch */ color: oklch(43.2% 0.133 263.5);
Tailwind
colors: {
  custom: {
    50: '#717cb7',
    500: '#284b98',
    950: '#000000',
  },
}
SCSS
$custom: #284b98;
$custom-light: #717cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#284b98",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 221.25,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.13272,
    "h": 263.5
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#284B98
secondary
#BC9F60
accent
#B146E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284B98

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

Preview Lab → · Contrast checker → · Palette generator →

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