#283090#283090

#283090 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.156 H 272.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#283090
RGBrgb(40, 48, 144)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 72%, 56%)
CMYKcmyk(72.2%, 66.7%, 0%, 43.5%)
CIE-LABlab(25.50, 30.36, -53.94)
CIE-LCHlch(25.50, 61.90, 299.37°)
OKLaboklab(37% 0.0065 -0.1558)
OKLCHoklch(37% 0.156 272.4)
XYZxyz(6.9644, 4.5780, 26.8968)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283090 #908828
analogous
#286490 #283090 #542890
triadic
#283090 #902830 #309028
tetradic
#283090 #902864 #908828 #289054
square
#283090 #902864 #908828 #289054
split-complementary
#283090 #905428 #649028
monochromatic
#0D1030 #1B2060 #283090 #3540C0 #6069D3

Accessibility & contrast

On white

10.96
#283090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#283090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283090
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283090#FFFFFF#000000##FFFFFF
##2830901.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283090;
/* rgb */ color: rgb(40, 48, 144);
/* oklch */ color: oklch(37.0% 0.156 272.4);
Tailwind
colors: {
  custom: {
    50: '#7168b1',
    500: '#283090',
    950: '#000000',
  },
}
SCSS
$custom: #283090;
$custom-light: #7168b1;
$custom-dark: #000000;
JSON
{
  "hex": "#283090",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.15598,
    "h": 272.4
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#283090
secondary
#B8B15C
accent
#D448E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283090

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

Preview Lab → · Contrast checker → · Palette generator →

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