#283E97#283E97

#283E97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 268.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#283E97
RGBrgb(40, 62, 151)
HSLhsl(228, 58%, 37%)
HSVhsv(228, 74%, 59%)
CMYKcmyk(73.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.74, 23.62, -51.32)
CIE-LCHlch(29.74, 56.49, 294.72°)
OKLaboklab(40.33% -0.0042 -0.148)
OKLCHoklch(40.33% 0.148 268.4)
XYZxyz(8.1817, 6.1299, 30.0242)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E97 #978128
analogous
#287697 #283E97 #492897
triadic
#283E97 #97283E #3E9728
tetradic
#283E97 #972876 #978128 #289749
square
#283E97 #972876 #978128 #289749
split-complementary
#283E97 #974928 #769728
monochromatic
#0E1636 #1B2A67 #283E97 #3552C7 #647AD6

Accessibility & contrast

On white

9.43
#283E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#283E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E97
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E97#FFFFFF#000000##FFFFFF
##283E971.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283e97;
/* rgb */ color: rgb(40, 62, 151);
/* oklch */ color: oklch(40.3% 0.148 268.4);
Tailwind
colors: {
  custom: {
    50: '#7273b6',
    500: '#283e97',
    950: '#000000',
  },
}
SCSS
$custom: #283e97;
$custom-light: #7273b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283e97",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 228.108,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.14806,
    "h": 268.4
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#283E97
secondary
#BCA95F
accent
#C346E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283E97

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

Preview Lab → · Contrast checker → · Palette generator →

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