#283685#283685

#283685 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.133 H 270.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#283685
RGBrgb(40, 54, 133)
HSLhsl(231, 54%, 34%)
HSVhsv(231, 70%, 52%)
CMYKcmyk(69.9%, 59.4%, 0%, 47.8%)
CIE-LABlab(26.11, 22.21, -46.12)
CIE-LCHlch(26.11, 51.19, 295.71°)
OKLaboklab(37.16% 0.002 -0.1328)
OKLCHoklch(37.16% 0.133 270.9)
XYZxyz(6.4264, 4.7823, 22.7702)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283685 #857728
analogous
#286585 #283685 #492885
triadic
#283685 #852836 #368528
tetradic
#283685 #852865 #857728 #288549
square
#283685 #852865 #857728 #288549
split-complementary
#283685 #854928 #658528
monochromatic
#0C1027 #1A2356 #283685 #3649B4 #5A6BCD

Accessibility & contrast

On white

10.73
#283685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283685
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283685#FFFFFF#000000##FFFFFF
##2836851.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283685;
/* rgb */ color: rgb(40, 54, 133);
/* oklch */ color: oklch(37.2% 0.133 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e6ca9',
    500: '#283685',
    950: '#000000',
  },
}
SCSS
$custom: #283685;
$custom-light: #6e6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#283685",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 230.968,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.13284,
    "h": 270.9
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#283685
secondary
#B3A556
accent
#C74BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283685

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

Preview Lab → · Contrast checker → · Palette generator →

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