#283495#283495

#283495 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.158 H 271.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#283495
RGBrgb(40, 52, 149)
HSLhsl(233, 58%, 37%)
HSVhsv(233, 73%, 58%)
CMYKcmyk(73.2%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.95, 29.57, -54.64)
CIE-LCHlch(26.95, 62.13, 298.42°)
OKLaboklab(38.21% 0.0033 -0.1579)
OKLCHoklch(38.21% 0.158 271.2)
XYZxyz(7.5260, 5.0763, 29.0111)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283495 #958928
analogous
#286B95 #283495 #522895
triadic
#283495 #952834 #349528
tetradic
#283495 #95286B #958928 #289552
square
#283495 #95286B #958928 #289552
split-complementary
#283495 #955228 #6B9528
monochromatic
#0E1235 #1B2365 #283495 #3545C5 #626FD5

Accessibility & contrast

On white

10.42
#283495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283495
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283495#FFFFFF#000000##FFFFFF
##2834951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283495;
/* rgb */ color: rgb(40, 52, 149);
/* oklch */ color: oklch(38.2% 0.158 271.2);
Tailwind
colors: {
  custom: {
    50: '#726bb5',
    500: '#283495',
    950: '#000000',
  },
}
SCSS
$custom: #283495;
$custom-light: #726bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#283495",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 233.394,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.1579,
    "h": 271.2
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#283495
secondary
#BBB05E
accent
#D047E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283495

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

Preview Lab → · Contrast checker → · Palette generator →

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