#283089#283089

#283089 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.146 H 272.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#283089
RGBrgb(40, 48, 137)
HSLhsl(235, 55%, 35%)
HSVhsv(235, 71%, 54%)
CMYKcmyk(70.8%, 65%, 0%, 46.3%)
CIE-LABlab(24.86, 27.78, -50.64)
CIE-LCHlch(24.86, 57.76, 298.75°)
OKLaboklab(36.34% 0.007 -0.1462)
OKLCHoklch(36.34% 0.146 272.7)
XYZxyz(6.4459, 4.3706, 24.1660)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283089 #898128
analogous
#286089 #283089 #512889
triadic
#283089 #892830 #308928
tetradic
#283089 #892860 #898128 #288951
square
#283089 #892860 #898128 #288951
split-complementary
#283089 #895128 #608928
monochromatic
#0C0F2A #1A1F5A #283089 #3641B8 #5C66CF

Accessibility & contrast

On white

11.20
#283089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#283089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283089
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283089#FFFFFF#000000##FFFFFF
##2830891.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283089;
/* rgb */ color: rgb(40, 48, 137);
/* oklch */ color: oklch(36.3% 0.146 272.7);
Tailwind
colors: {
  custom: {
    50: '#7068ac',
    500: '#283089',
    950: '#000000',
  },
}
SCSS
$custom: #283089;
$custom-light: #7068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#283089",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 235.052,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.14634,
    "h": 272.7
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#283089
secondary
#B5AD58
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283089

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

Preview Lab → · Contrast checker → · Palette generator →

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