#283297#283297

#283297 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.163 H 271.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#283297
RGBrgb(40, 50, 151)
HSLhsl(235, 58%, 37%)
HSVhsv(235, 74%, 59%)
CMYKcmyk(73.5%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.64, 31.62, -56.38)
CIE-LCHlch(26.64, 64.65, 299.29°)
OKLaboklab(38.04% 0.0046 -0.163)
OKLCHoklch(38.04% 0.163 271.6)
XYZxyz(7.5997, 4.9659, 29.8302)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283297 #978D28
analogous
#286997 #283297 #562897
triadic
#283297 #972832 #329728
tetradic
#283297 #972869 #978D28 #289756
square
#283297 #972869 #978D28 #289756
split-complementary
#283297 #975628 #699728
monochromatic
#0E1236 #1B2267 #283297 #3542C7 #646ED6

Accessibility & contrast

On white

10.53
#283297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283297
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283297#FFFFFF#000000##FFFFFF
##2832971.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283297;
/* rgb */ color: rgb(40, 50, 151);
/* oklch */ color: oklch(38.0% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#736ab7',
    500: '#283297',
    950: '#000000',
  },
}
SCSS
$custom: #283297;
$custom-light: #736ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#283297",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 234.595,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.16304,
    "h": 271.6
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#283297
secondary
#BCB35F
accent
#D346E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283297

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

Preview Lab → · Contrast checker → · Palette generator →

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