#283E99#283E99

#283E99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 268.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#283E99
RGBrgb(40, 62, 153)
HSLhsl(228, 59%, 38%)
HSVhsv(228, 74%, 60%)
CMYKcmyk(73.9%, 59.5%, 0%, 40%)
CIE-LABlab(29.90, 24.39, -52.27)
CIE-LCHlch(29.90, 57.68, 295.01°)
OKLaboklab(40.5% -0.0042 -0.1508)
OKLCHoklch(40.5% 0.151 268.4)
XYZxyz(8.3455, 6.1954, 30.8868)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E99 #998328
analogous
#287699 #283E99 #4B2899
triadic
#283E99 #99283E #3E9928
tetradic
#283E99 #992876 #998328 #28994B
square
#283E99 #992876 #998328 #28994B
split-complementary
#283E99 #994B28 #769928
monochromatic
#0F1738 #1B2A68 #283E99 #3552CA #657BD7

Accessibility & contrast

On white

9.38
#283E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#283E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E99
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E99#FFFFFF#000000##FFFFFF
##283E991.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283e99;
/* rgb */ color: rgb(40, 62, 153);
/* oklch */ color: oklch(40.5% 0.151 268.4);
Tailwind
colors: {
  custom: {
    50: '#7273b8',
    500: '#283e99',
    950: '#000000',
  },
}
SCSS
$custom: #283e99;
$custom-light: #7273b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283e99",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 228.319,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.15087,
    "h": 268.4
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#283E99
secondary
#BDAB60
accent
#C346E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283E99

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

Preview Lab → · Contrast checker → · Palette generator →

#283E99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva