#284F90#284F90

#284F90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.116 H 260.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#284F90
RGBrgb(40, 79, 144)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 72%, 56%)
CMYKcmyk(72.2%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.10, 9.42, -40.01)
CIE-LCHlch(34.10, 41.10, 283.25°)
OKLaboklab(43.48% -0.0201 -0.1144)
OKLCHoklch(43.48% 0.116 260)
XYZxyz(8.7033, 8.0558, 27.4764)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F90 #906928
analogous
#288390 #284F90 #352890
triadic
#284F90 #90284F #4F9028
tetradic
#284F90 #902883 #906928 #289035
square
#284F90 #902883 #906928 #289035
split-complementary
#284F90 #903528 #839028
monochromatic
#0D1A30 #1B3560 #284F90 #3569C0 #608BD3

Accessibility & contrast

On white

8.04
#284F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#284F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F90
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F90#FFFFFF#000000##FFFFFF
##284F901.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1C4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284f90;
/* rgb */ color: rgb(40, 79, 144);
/* oklch */ color: oklch(43.5% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fb1',
    500: '#284f90',
    950: '#000000',
  },
}
SCSS
$custom: #284f90;
$custom-light: #6f7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#284f90",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 217.5,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.1162,
    "h": 260
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#284F90
secondary
#B8955C
accent
#A748E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284F90

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

Preview Lab → · Contrast checker → · Palette generator →

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