#283286#283286

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

Color values

HEX#283286
RGBrgb(40, 50, 134)
HSLhsl(234, 54%, 34%)
HSVhsv(234, 70%, 53%)
CMYKcmyk(70.1%, 62.7%, 0%, 47.5%)
CIE-LABlab(25.12, 25.31, -48.35)
CIE-LCHlch(25.12, 54.58, 297.63°)
OKLaboklab(36.45% 0.0055 -0.1394)
OKLCHoklch(36.45% 0.14 272.2)
XYZxyz(6.3173, 4.4530, 23.0762)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283286 #867C28
analogous
#286186 #283286 #4D2886
triadic
#283286 #862832 #328628
tetradic
#283286 #862861 #867C28 #28864D
square
#283286 #862861 #867C28 #28864D
split-complementary
#283286 #864D28 #618628
monochromatic
#0C0F28 #1A2057 #283286 #3644B5 #5B67CE

Accessibility & contrast

On white

11.11
#283286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#283286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283286
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283286#FFFFFF#000000##FFFFFF
##2832861.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283286;
/* rgb */ color: rgb(40, 50, 134);
/* oklch */ color: oklch(36.4% 0.140 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f69aa',
    500: '#283286',
    950: '#000000',
  },
}
SCSS
$custom: #283286;
$custom-light: #6f69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#283286",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 233.617,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.13955,
    "h": 272.2
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#283286
secondary
#B3A957
accent
#CE4ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283286

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

Preview Lab → · Contrast checker → · Palette generator →

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