#283099#283099

#283099 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.168 H 271.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#283099
RGBrgb(40, 48, 153)
HSLhsl(236, 59%, 38%)
HSVhsv(236, 74%, 60%)
CMYKcmyk(73.9%, 68.6%, 0%, 40%)
CIE-LABlab(26.34, 33.64, -58.09)
CIE-LCHlch(26.34, 67.13, 300.08°)
OKLaboklab(37.88% 0.0057 -0.168)
OKLCHoklch(37.88% 0.168 271.9)
XYZxyz(7.6799, 4.8641, 30.6649)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283099 #999128
analogous
#286899 #283099 #582899
triadic
#283099 #992830 #309928
tetradic
#283099 #992868 #999128 #289958
square
#283099 #992868 #999128 #289958
split-complementary
#283099 #995828 #689928
monochromatic
#0F1238 #1B2168 #283099 #353FCA #656DD7

Accessibility & contrast

On white

10.64
#283099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283099
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283099#FFFFFF#000000##FFFFFF
##2830991.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283099;
/* rgb */ color: rgb(40, 48, 153);
/* oklch */ color: oklch(37.9% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#7468b8',
    500: '#283099',
    950: '#000000',
  },
}
SCSS
$custom: #283099;
$custom-light: #7468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283099",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 235.752,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.16807,
    "h": 271.9
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#283099
secondary
#BDB660
accent
#D746E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283099

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

Preview Lab → · Contrast checker → · Palette generator →

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