#283256#283256

#283256 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.065 H 270.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#283256
RGBrgb(40, 50, 86)
HSLhsl(227, 37%, 25%)
HSVhsv(227, 53%, 34%)
CMYKcmyk(53.5%, 41.9%, 0%, 66.3%)
CIE-LABlab(21.59, 7.33, -23.15)
CIE-LCHlch(21.59, 24.28, 287.58°)
OKLaboklab(32.67% 0.0008 -0.0654)
OKLCHoklch(32.67% 0.065 270.7)
XYZxyz(3.6949, 3.4040, 9.2646)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283256 #564C28
analogous
#284956 #283256 #352856
triadic
#283256 #562832 #325628
tetradic
#283256 #562849 #564C28 #285635
square
#283256 #562849 #564C28 #285635
split-complementary
#283256 #563528 #495628
monochromatic
#0A0C15 #151A2C #283256 #3B4A80 #4F63AA

Accessibility & contrast

On white

12.49
#283256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#283256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283256
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283256#FFFFFF#000000##FFFFFF
##2832561.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243657
Deuteranopia (green-blind)
#1F3255
Tritanopia (blue-blind)
#153A3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283256;
/* rgb */ color: rgb(40, 50, 86);
/* oklch */ color: oklch(32.7% 0.065 270.7);
Tailwind
colors: {
  custom: {
    50: '#656986',
    500: '#283256',
    950: '#000000',
  },
}
SCSS
$custom: #283256;
$custom-light: #656986;
$custom-dark: #000000;
JSON
{
  "hex": "#283256",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 226.957,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.0654,
    "h": 270.7
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#283256
secondary
#897D51
accent
#B45BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #283256

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

Preview Lab → · Contrast checker → · Palette generator →

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