#283279#283279

#283279 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.121 H 272.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#283279
RGBrgb(40, 50, 121)
HSLhsl(233, 50%, 32%)
HSVhsv(233, 67%, 47%)
CMYKcmyk(66.9%, 58.7%, 0%, 52.5%)
CIE-LABlab(24.04, 20.41, -41.92)
CIE-LCHlch(24.04, 46.63, 295.96°)
OKLaboklab(35.31% 0.0054 -0.1205)
OKLCHoklch(35.31% 0.121 272.6)
XYZxyz(5.4657, 4.1123, 18.5912)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283279 #796F28
analogous
#285B79 #283279 #472879
triadic
#283279 #792832 #327928
tetradic
#283279 #79285B #796F28 #287947
square
#283279 #79285B #796F28 #287947
split-complementary
#283279 #794728 #5B7928
monochromatic
#0A0C1D #191F4B #283279 #3745A7 #5563C7

Accessibility & contrast

On white

11.52
#283279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#283279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283279
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283279#FFFFFF#000000##FFFFFF
##2832791.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283279;
/* rgb */ color: rgb(40, 50, 121);
/* oklch */ color: oklch(35.3% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c69a0',
    500: '#283279',
    950: '#000000',
  },
}
SCSS
$custom: #283279;
$custom-light: #6c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283279",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 232.593,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.12065,
    "h": 272.6
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#283279
secondary
#ABA052
accent
#C94EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #283279

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

Preview Lab → · Contrast checker → · Palette generator →

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