#283277#283277

#283277 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.118 H 272.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#283277
RGBrgb(40, 50, 119)
HSLhsl(232, 50%, 31%)
HSVhsv(232, 66%, 47%)
CMYKcmyk(66.4%, 58%, 0%, 53.3%)
CIE-LABlab(23.88, 19.65, -40.91)
CIE-LCHlch(23.88, 45.38, 295.66°)
OKLaboklab(35.14% 0.0054 -0.1175)
OKLCHoklch(35.14% 0.118 272.6)
XYZxyz(5.3443, 4.0638, 17.9519)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283277 #776D28
analogous
#285977 #283277 #452877
triadic
#283277 #772832 #327728
tetradic
#283277 #772859 #776D28 #287745
square
#283277 #772859 #776D28 #287745
split-complementary
#283277 #774528 #597728
monochromatic
#090C1B #191F49 #283277 #3745A5 #5462C5

Accessibility & contrast

On white

11.58
#283277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283277
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283277#FFFFFF#000000##FFFFFF
##2832771.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283277;
/* rgb */ color: rgb(40, 50, 119);
/* oklch */ color: oklch(35.1% 0.118 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b699f',
    500: '#283277',
    950: '#000000',
  },
}
SCSS
$custom: #283277;
$custom-light: #6b699f;
$custom-dark: #000000;
JSON
{
  "hex": "#283277",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 232.405,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35142,
    "c": 0.11767,
    "h": 272.6
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#283277
secondary
#A99E52
accent
#C84FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283277

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

Preview Lab → · Contrast checker → · Palette generator →

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