#283292#283292

#283292 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.156 H 271.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#283292
RGBrgb(40, 50, 146)
HSLhsl(234, 57%, 36%)
HSVhsv(234, 73%, 57%)
CMYKcmyk(72.6%, 65.8%, 0%, 42.7%)
CIE-LABlab(26.18, 29.78, -54.06)
CIE-LCHlch(26.18, 61.72, 298.85°)
OKLaboklab(37.56% 0.0049 -0.1562)
OKLCHoklch(37.56% 0.156 271.8)
XYZxyz(7.2022, 4.8069, 27.7368)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283292 #928828
analogous
#286792 #283292 #532892
triadic
#283292 #922832 #329228
tetradic
#283292 #922867 #928828 #289253
square
#283292 #922867 #928828 #289253
split-complementary
#283292 #925328 #679228
monochromatic
#0E1132 #1B2262 #283292 #3542C2 #616CD4

Accessibility & contrast

On white

10.71
#283292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283292
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283292#FFFFFF#000000##FFFFFF
##2832921.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283292;
/* rgb */ color: rgb(40, 50, 146);
/* oklch */ color: oklch(37.6% 0.156 271.8);
Tailwind
colors: {
  custom: {
    50: '#726ab3',
    500: '#283292',
    950: '#000000',
  },
}
SCSS
$custom: #283292;
$custom-light: #726ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#283292",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 234.34,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37557,
    "c": 0.15626,
    "h": 271.8
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#283292
secondary
#B9B05D
accent
#D248E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283292

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

Preview Lab → · Contrast checker → · Palette generator →

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