#283287#283287

#283287 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.141 H 272.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#283287
RGBrgb(40, 50, 135)
HSLhsl(234, 54%, 34%)
HSVhsv(234, 70%, 53%)
CMYKcmyk(70.4%, 63%, 0%, 47.1%)
CIE-LABlab(25.20, 25.69, -48.84)
CIE-LCHlch(25.20, 55.18, 297.74°)
OKLaboklab(36.54% 0.0054 -0.1409)
OKLCHoklch(36.54% 0.141 272.2)
XYZxyz(6.3874, 4.4810, 23.4453)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283287 #877D28
analogous
#286287 #283287 #4E2887
triadic
#283287 #872832 #328728
tetradic
#283287 #872862 #877D28 #28874E
square
#283287 #872862 #877D28 #28874E
split-complementary
#283287 #874E28 #628728
monochromatic
#0C0F29 #1A2158 #283287 #3643B6 #5B67CE

Accessibility & contrast

On white

11.07
#283287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#283287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283287
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283287#FFFFFF#000000##FFFFFF
##2832871.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283287;
/* rgb */ color: rgb(40, 50, 135);
/* oklch */ color: oklch(36.5% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#283287',
    950: '#000000',
  },
}
SCSS
$custom: #283287;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283287",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 233.684,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.14097,
    "h": 272.2
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#283287
secondary
#B4AA57
accent
#CE4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283287

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

Preview Lab → · Contrast checker → · Palette generator →

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