#283289#283289

#283289 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.144 H 272.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#283289
RGBrgb(40, 50, 137)
HSLhsl(234, 55%, 35%)
HSVhsv(234, 71%, 54%)
CMYKcmyk(70.8%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.38, 26.44, -49.80)
CIE-LCHlch(25.38, 56.38, 297.96°)
OKLaboklab(36.72% 0.0054 -0.1437)
OKLCHoklch(36.72% 0.144 272.1)
XYZxyz(6.5295, 4.5378, 24.1938)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283289 #897F28
analogous
#286389 #283289 #4E2889
triadic
#283289 #892832 #328928
tetradic
#283289 #892863 #897F28 #28894E
square
#283289 #892863 #897F28 #28894E
split-complementary
#283289 #894E28 #638928
monochromatic
#0C0F2A #1A215A #283289 #3643B8 #5C68CF

Accessibility & contrast

On white

11.01
#283289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#283289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283289
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283289#FFFFFF#000000##FFFFFF
##2832891.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283289;
/* rgb */ color: rgb(40, 50, 137);
/* oklch */ color: oklch(36.7% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#706aac',
    500: '#283289',
    950: '#000000',
  },
}
SCSS
$custom: #283289;
$custom-light: #706aac;
$custom-dark: #000000;
JSON
{
  "hex": "#283289",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 233.814,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.14378,
    "h": 272.1
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#283289
secondary
#B5AB58
accent
#CF4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283289

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

Preview Lab → · Contrast checker → · Palette generator →

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