#283091#283091

#283091 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.157 H 272.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#283091
RGBrgb(40, 48, 145)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 72%, 57%)
CMYKcmyk(72.4%, 66.9%, 0%, 43.1%)
CIE-LABlab(25.59, 30.73, -54.41)
CIE-LCHlch(25.59, 62.49, 299.46°)
OKLaboklab(37.1% 0.0064 -0.1572)
OKLCHoklch(37.1% 0.157 272.3)
XYZxyz(7.0411, 4.6087, 27.3011)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283091 #918928
analogous
#286591 #283091 #552891
triadic
#283091 #912830 #309128
tetradic
#283091 #912865 #918928 #289155
square
#283091 #912865 #918928 #289155
split-complementary
#283091 #915528 #659128
monochromatic
#0E1031 #1B2061 #283091 #3540C1 #6069D3

Accessibility & contrast

On white

10.93
#283091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283091
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283091#FFFFFF#000000##FFFFFF
##2830911.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283091;
/* rgb */ color: rgb(40, 48, 145);
/* oklch */ color: oklch(37.1% 0.157 272.3);
Tailwind
colors: {
  custom: {
    50: '#7268b2',
    500: '#283091',
    950: '#000000',
  },
}
SCSS
$custom: #283091;
$custom-light: #7268b2;
$custom-dark: #000000;
JSON
{
  "hex": "#283091",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 235.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.15734,
    "h": 272.3
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283091

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

Preview Lab → · Contrast checker → · Palette generator →

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