#283285#283285

#283285 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.138 H 272.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#283285
RGBrgb(40, 50, 133)
HSLhsl(234, 54%, 34%)
HSVhsv(234, 70%, 52%)
CMYKcmyk(69.9%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.03, 24.94, -47.87)
CIE-LCHlch(25.03, 53.97, 297.52°)
OKLaboklab(36.36% 0.0055 -0.138)
OKLCHoklch(36.36% 0.138 272.3)
XYZxyz(6.2479, 4.4252, 22.7106)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283285 #857B28
analogous
#286185 #283285 #4D2885
triadic
#283285 #852832 #328528
tetradic
#283285 #852861 #857B28 #28854D
square
#283285 #852861 #857B28 #28854D
split-complementary
#283285 #854D28 #618528
monochromatic
#0C0F27 #1A2056 #283285 #3644B4 #5A66CD

Accessibility & contrast

On white

11.14
#283285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283285
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283285#FFFFFF#000000##FFFFFF
##2832851.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283285;
/* rgb */ color: rgb(40, 50, 133);
/* oklch */ color: oklch(36.4% 0.138 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f69a9',
    500: '#283285',
    950: '#000000',
  },
}
SCSS
$custom: #283285;
$custom-light: #6f69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#283285",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 233.548,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36357,
    "c": 0.13812,
    "h": 272.3
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#283285
secondary
#B3A956
accent
#CD4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283285

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

Preview Lab → · Contrast checker → · Palette generator →

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