#283479#283479

#283479 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.118 H 271.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#283479
RGBrgb(40, 52, 121)
HSLhsl(231, 50%, 32%)
HSVhsv(231, 67%, 47%)
CMYKcmyk(66.9%, 57%, 0%, 52.5%)
CIE-LABlab(24.60, 19.02, -41.01)
CIE-LCHlch(24.60, 45.21, 294.88°)
OKLaboklab(35.73% 0.0035 -0.1178)
OKLCHoklch(35.73% 0.118 271.7)
XYZxyz(5.5531, 4.2871, 18.6203)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283479 #796D28
analogous
#285D79 #283479 #452879
triadic
#283479 #792834 #347928
tetradic
#283479 #79285D #796D28 #287945
square
#283479 #79285D #796D28 #287945
split-complementary
#283479 #794528 #5D7928
monochromatic
#0A0C1D #19204B #283479 #3748A7 #5566C7

Accessibility & contrast

On white

11.30
#283479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283479
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283479#FFFFFF#000000##FFFFFF
##2834791.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283479;
/* rgb */ color: rgb(40, 52, 121);
/* oklch */ color: oklch(35.7% 0.118 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c6ba0',
    500: '#283479',
    950: '#000000',
  },
}
SCSS
$custom: #283479;
$custom-light: #6c6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#283479",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 231.111,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.11789,
    "h": 271.7
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#283479
secondary
#AB9E52
accent
#C54EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #283479

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

Preview Lab → · Contrast checker → · Palette generator →

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