#284B95#284B95

#284B95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.128 H 263.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#284B95
RGBrgb(40, 75, 149)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 73%, 58%)
CMYKcmyk(73.2%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.25, 14.04, -44.42)
CIE-LCHlch(33.25, 46.58, 287.54°)
OKLaboklab(42.93% -0.0155 -0.1275)
OKLCHoklch(42.93% 0.128 263.1)
XYZxyz(8.8140, 7.6523, 29.4405)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B95 #957228
analogous
#288295 #284B95 #3C2895
triadic
#284B95 #95284B #4B9528
tetradic
#284B95 #952882 #957228 #28953C
square
#284B95 #952882 #957228 #28953C
split-complementary
#284B95 #953C28 #829528
monochromatic
#0E1A35 #1B3365 #284B95 #3563C5 #6287D5

Accessibility & contrast

On white

8.30
#284B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#284B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B95
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B95#FFFFFF#000000##FFFFFF
##284B951.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225398
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284b95;
/* rgb */ color: rgb(40, 75, 149);
/* oklch */ color: oklch(42.9% 0.128 263.1);
Tailwind
colors: {
  custom: {
    50: '#717cb5',
    500: '#284b95',
    950: '#000000',
  },
}
SCSS
$custom: #284b95;
$custom-light: #717cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284b95",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 220.734,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.12842,
    "h": 263.1
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#284B95
secondary
#BB9D5E
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284B95

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

Preview Lab → · Contrast checker → · Palette generator →

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