#283565#283565

#283565 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.086 H 270.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#283565
RGBrgb(40, 53, 101)
HSLhsl(227, 43%, 28%)
HSVhsv(227, 60%, 40%)
CMYKcmyk(60.4%, 47.5%, 0%, 60.4%)
CIE-LABlab(23.46, 10.74, -30.02)
CIE-LCHlch(23.46, 31.89, 289.69°)
OKLaboklab(34.41% 0.0001 -0.0855)
OKLCHoklch(34.41% 0.086 270)
XYZxyz(4.4964, 3.9366, 12.8323)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283565 #655828
analogous
#285365 #283565 #392865
triadic
#283565 #652835 #356528
tetradic
#283565 #652853 #655828 #286539
square
#283565 #652853 #655828 #286539
split-complementary
#283565 #653928 #536528
monochromatic
#090C16 #171E39 #283565 #394C91 #4E65B9

Accessibility & contrast

On white

11.75
#283565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#283565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283565
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283565#FFFFFF#000000##FFFFFF
##2835651.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#173564
Tritanopia (blue-blind)
#024048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283565;
/* rgb */ color: rgb(40, 53, 101);
/* oklch */ color: oklch(34.4% 0.086 270.0);
Tailwind
colors: {
  custom: {
    50: '#686b91',
    500: '#283565',
    950: '#000000',
  },
}
SCSS
$custom: #283565;
$custom-light: #686b91;
$custom-dark: #000000;
JSON
{
  "hex": "#283565",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 101
  },
  "hsl": {
    "h": 227.213,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.0855,
    "h": 270
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#283565
secondary
#988951
accent
#B855D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060D
muted
#7A7A7D

Preview Lab

Preview with #283565

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

Preview Lab → · Contrast checker → · Palette generator →

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