#283379#283379

#283379 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.119 H 272.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#283379
RGBrgb(40, 51, 121)
HSLhsl(232, 50%, 32%)
HSVhsv(232, 67%, 47%)
CMYKcmyk(66.9%, 57.9%, 0%, 52.5%)
CIE-LABlab(24.32, 19.71, -41.47)
CIE-LCHlch(24.32, 45.92, 295.43°)
OKLaboklab(35.52% 0.0045 -0.1192)
OKLCHoklch(35.52% 0.119 272.1)
XYZxyz(5.5089, 4.1988, 18.6056)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283379 #796E28
analogous
#285C79 #283379 #462879
triadic
#283379 #792833 #337928
tetradic
#283379 #79285C #796E28 #287946
square
#283379 #79285C #796E28 #287946
split-complementary
#283379 #794628 #5C7928
monochromatic
#0A0C1D #19204B #283379 #3746A7 #5564C7

Accessibility & contrast

On white

11.41
#283379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#283379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283379
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283379#FFFFFF#000000##FFFFFF
##2833791.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283379;
/* rgb */ color: rgb(40, 51, 121);
/* oklch */ color: oklch(35.5% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aa0',
    500: '#283379',
    950: '#000000',
  },
}
SCSS
$custom: #283379;
$custom-light: #6c6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#283379",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 231.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.11927,
    "h": 272.1
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#283379
secondary
#AB9F52
accent
#C74EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #283379

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

Preview Lab → · Contrast checker → · Palette generator →

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