#283293#283293

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

Color values

HEX#283293
RGBrgb(40, 50, 147)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(72.8%, 66%, 0%, 42.4%)
CIE-LABlab(26.27, 30.15, -54.53)
CIE-LCHlch(26.27, 62.31, 298.94°)
OKLaboklab(37.65% 0.0049 -0.1575)
OKLCHoklch(37.65% 0.158 271.8)
XYZxyz(7.2804, 4.8382, 28.1483)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283293 #938928
analogous
#286893 #283293 #542893
triadic
#283293 #932832 #329328
tetradic
#283293 #932868 #938928 #289354
square
#283293 #932868 #938928 #289354
split-complementary
#283293 #935428 #689328
monochromatic
#0E1133 #1B2263 #283293 #3542C3 #616CD4

Accessibility & contrast

On white

10.67
#283293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283293
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283293#FFFFFF#000000##FFFFFF
##2832931.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283293;
/* rgb */ color: rgb(40, 50, 147);
/* oklch */ color: oklch(37.7% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#283293',
    950: '#000000',
  },
}
SCSS
$custom: #283293;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#283293",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 234.393,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.15762,
    "h": 271.8
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#283293
secondary
#BAB15D
accent
#D247E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283293

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

Preview Lab → · Contrast checker → · Palette generator →

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