#283258#283258

#283258 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.069 H 271.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#283258
RGBrgb(40, 50, 88)
HSLhsl(228, 38%, 25%)
HSVhsv(228, 55%, 35%)
CMYKcmyk(54.5%, 43.2%, 0%, 65.5%)
CIE-LABlab(21.71, 8.06, -24.28)
CIE-LCHlch(21.71, 25.59, 288.35°)
OKLaboklab(32.8% 0.0013 -0.0687)
OKLCHoklch(32.8% 0.069 271.1)
XYZxyz(3.7766, 3.4367, 9.6950)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283258 #584E28
analogous
#284A58 #283258 #362858
triadic
#283258 #582832 #325828
tetradic
#283258 #58284A #584E28 #285836
square
#283258 #58284A #584E28 #285836
split-complementary
#283258 #583628 #4A5828
monochromatic
#0A0C15 #151A2E #283258 #3B4A82 #4E62AC

Accessibility & contrast

On white

12.45
#283258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#283258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283258
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283258#FFFFFF#000000##FFFFFF
##2832581.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233659
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#133A40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283258;
/* rgb */ color: rgb(40, 50, 88);
/* oklch */ color: oklch(32.8% 0.069 271.1);
Tailwind
colors: {
  custom: {
    50: '#656987',
    500: '#283258',
    950: '#000000',
  },
}
SCSS
$custom: #283258;
$custom-light: #656987;
$custom-dark: #000000;
JSON
{
  "hex": "#283258",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 227.5,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.06873,
    "h": 271.1
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#283258
secondary
#8B7F51
accent
#B55ACD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #283258

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

Preview Lab → · Contrast checker → · Palette generator →

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