#283274#283274

#283274 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.113 H 272.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#283274
RGBrgb(40, 50, 116)
HSLhsl(232, 49%, 31%)
HSVhsv(232, 66%, 45%)
CMYKcmyk(65.5%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.65, 18.52, -39.37)
CIE-LCHlch(23.65, 43.51, 295.18°)
OKLaboklab(34.89% 0.0052 -0.113)
OKLCHoklch(34.89% 0.113 272.6)
XYZxyz(5.1670, 3.9928, 17.0180)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283274 #746A28
analogous
#285874 #283274 #442874
triadic
#283274 #742832 #327428
tetradic
#283274 #742858 #746A28 #287444
square
#283274 #742858 #746A28 #287444
split-complementary
#283274 #744428 #587428
monochromatic
#090B19 #181E46 #283274 #3846A2 #5362C4

Accessibility & contrast

On white

11.68
#283274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#283274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283274
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283274#FFFFFF#000000##FFFFFF
##2832741.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033C76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283274;
/* rgb */ color: rgb(40, 50, 116);
/* oklch */ color: oklch(34.9% 0.113 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b699d',
    500: '#283274',
    950: '#000000',
  },
}
SCSS
$custom: #283274;
$custom-light: #6b699d;
$custom-dark: #000000;
JSON
{
  "hex": "#283274",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 232.105,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.11316,
    "h": 272.6
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#283274
secondary
#A69B52
accent
#C650D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283274

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

Preview Lab → · Contrast checker → · Palette generator →

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