#284998#284998

#284998 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.135 H 264.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#284998
RGBrgb(40, 73, 152)
HSLhsl(222, 58%, 38%)
HSVhsv(222, 74%, 60%)
CMYKcmyk(73.7%, 52%, 0%, 40.4%)
CIE-LABlab(32.88, 16.55, -46.83)
CIE-LCHlch(32.88, 49.67, 289.47°)
OKLaboklab(42.72% -0.0133 -0.1346)
OKLCHoklch(42.72% 0.135 264.3)
XYZxyz(8.9231, 7.4823, 30.6736)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284998 #987728
analogous
#288198 #284998 #3F2898
triadic
#284998 #982849 #499828
tetradic
#284998 #982881 #987728 #28983F
square
#284998 #982881 #987728 #28983F
split-complementary
#284998 #983F28 #819828
monochromatic
#0F1A37 #1B3268 #284998 #3560C8 #6486D6

Accessibility & contrast

On white

8.41
#284998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284998
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284998#FFFFFF#000000##FFFFFF
##2849981.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284998;
/* rgb */ color: rgb(40, 73, 152);
/* oklch */ color: oklch(42.7% 0.135 264.3);
Tailwind
colors: {
  custom: {
    50: '#717bb7',
    500: '#284998',
    950: '#000000',
  },
}
SCSS
$custom: #284998;
$custom-light: #717bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#284998",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 222.321,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.13529,
    "h": 264.3
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#284998
secondary
#BCA160
accent
#B446E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284998

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

Preview Lab → · Contrast checker → · Palette generator →

#284998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva