#283D97#283D97

#283D97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.149 H 268.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#283D97
RGBrgb(40, 61, 151)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(73.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.47, 24.30, -51.76)
CIE-LCHlch(29.47, 57.18, 295.15°)
OKLaboklab(40.12% -0.0034 -0.1493)
OKLCHoklch(40.12% 0.149 268.7)
XYZxyz(8.1278, 6.0221, 30.0062)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D97 #978228
analogous
#287497 #283D97 #4B2897
triadic
#283D97 #97283D #3D9728
tetradic
#283D97 #972874 #978228 #28974B
square
#283D97 #972874 #978228 #28974B
split-complementary
#283D97 #974B28 #749728
monochromatic
#0E1636 #1B2967 #283D97 #3551C7 #6479D6

Accessibility & contrast

On white

9.53
#283D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D97
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D97#FFFFFF#000000##FFFFFF
##283D971.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283d97;
/* rgb */ color: rgb(40, 61, 151);
/* oklch */ color: oklch(40.1% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#7272b6',
    500: '#283d97',
    950: '#000000',
  },
}
SCSS
$custom: #283d97;
$custom-light: #7272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283d97",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 228.649,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.14934,
    "h": 268.7
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#283D97
secondary
#BCAA5F
accent
#C446E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D97

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

Preview Lab → · Contrast checker → · Palette generator →

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