#284B7F#284B7F

#284B7F is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.096 H 258.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#284B7F
RGBrgb(40, 75, 127)
HSLhsl(216, 52%, 33%)
HSVhsv(216, 69%, 50%)
CMYKcmyk(68.5%, 40.9%, 0%, 50.2%)
CIE-LABlab(31.84, 5.55, -33.16)
CIE-LCHlch(31.84, 33.62, 279.50°)
OKLaboklab(41.4% -0.0197 -0.0944)
OKLCHoklch(41.4% 0.096 258.2)
XYZxyz(7.2205, 7.0149, 21.0480)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B7F #7F5C28
analogous
#28767F #284B7F #30287F
triadic
#284B7F #7F284B #4B7F28
tetradic
#284B7F #7F2876 #7F5C28 #287F30
square
#284B7F #7F2876 #7F5C28 #287F30
split-complementary
#284B7F #7F3028 #767F28
monochromatic
#0B1422 #193050 #284B7F #3766AE #5785CA

Accessibility & contrast

On white

8.74
#284B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#284B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B7F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B7F#FFFFFF#000000##FFFFFF
##284B7F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284b7f;
/* rgb */ color: rgb(40, 75, 127);
/* oklch */ color: oklch(41.4% 0.096 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7ca4',
    500: '#284b7f',
    950: '#000000',
  },
}
SCSS
$custom: #284b7f;
$custom-light: #6c7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#284b7f",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 127
  },
  "hsl": {
    "h": 215.862,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.09644,
    "h": 258.2
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#284B7F
secondary
#AF8A54
accent
#A24CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #284B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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