#282263#282263

#282263 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.110 H 281.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#282263
RGBrgb(40, 34, 99)
HSLhsl(246, 49%, 26%)
HSVhsv(246, 66%, 39%)
CMYKcmyk(59.6%, 65.7%, 0%, 61.2%)
CIE-LABlab(17.90, 23.31, -37.68)
CIE-LCHlch(17.90, 44.31, 301.75°)
OKLaboklab(30.19% 0.0223 -0.1082)
OKLCHoklch(30.19% 0.11 281.7)
XYZxyz(3.6985, 2.4958, 12.0888)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282263 #5D6322
analogous
#223C63 #282263 #482263
triadic
#282263 #632822 #226328
tetradic
#282263 #63223C #5D6322 #226348
square
#282263 #63223C #5D6322 #226348
split-complementary
#282263 #634822 #3C6322
monochromatic
#090817 #161235 #282263 #3A3291 #4D41BE

Accessibility & contrast

On white

14.01
#282263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282263
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282263#FFFFFF#000000##FFFFFF
##2822631.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#0A323F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282263;
/* rgb */ color: rgb(40, 34, 99);
/* oklch */ color: oklch(30.2% 0.110 281.7);
Tailwind
colors: {
  custom: {
    50: '#695d90',
    500: '#282263',
    950: '#000000',
  },
}
SCSS
$custom: #282263;
$custom-light: #695d90;
$custom-dark: #000000;
JSON
{
  "hex": "#282263",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 245.538,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30192,
    "c": 0.11048,
    "h": 281.7
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#282263
secondary
#90974A
accent
#D84FCC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #282263

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

Preview Lab → · Contrast checker → · Palette generator →

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