#283497#283497

#283497 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.161 H 271.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#283497
RGBrgb(40, 52, 151)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 74%, 59%)
CMYKcmyk(73.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.13, 30.31, -55.57)
CIE-LCHlch(27.13, 63.30, 298.61°)
OKLaboklab(38.4% 0.0032 -0.1606)
OKLCHoklch(38.4% 0.161 271.1)
XYZxyz(7.6871, 5.1407, 29.8593)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283497 #978B28
analogous
#286B97 #283497 #542897
triadic
#283497 #972834 #349728
tetradic
#283497 #97286B #978B28 #289754
square
#283497 #97286B #978B28 #289754
split-complementary
#283497 #975428 #6B9728
monochromatic
#0E1336 #1B2367 #283497 #3545C7 #6470D6

Accessibility & contrast

On white

10.35
#283497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283497
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283497#FFFFFF#000000##FFFFFF
##2834971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283497;
/* rgb */ color: rgb(40, 52, 151);
/* oklch */ color: oklch(38.4% 0.161 271.1);
Tailwind
colors: {
  custom: {
    50: '#736bb7',
    500: '#283497',
    950: '#000000',
  },
}
SCSS
$custom: #283497;
$custom-light: #736bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#283497",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 233.514,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.16062,
    "h": 271.1
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#283497
secondary
#BCB25F
accent
#D146E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283497

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

Preview Lab → · Contrast checker → · Palette generator →

#283497 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva