#283273#283273

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

Color values

HEX#283273
RGBrgb(40, 50, 115)
HSLhsl(232, 48%, 30%)
HSVhsv(232, 65%, 45%)
CMYKcmyk(65.2%, 56.5%, 0%, 54.9%)
CIE-LABlab(23.57, 18.14, -38.86)
CIE-LCHlch(23.57, 42.88, 295.02°)
OKLaboklab(34.81% 0.0052 -0.1115)
OKLCHoklch(34.81% 0.112 272.6)
XYZxyz(5.1092, 3.9697, 16.7133)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283273 #736928
analogous
#285773 #283273 #432873
triadic
#283273 #732832 #327328
tetradic
#283273 #732857 #736928 #287343
square
#283273 #732857 #736928 #287343
split-complementary
#283273 #734328 #577328
monochromatic
#080B18 #181E46 #283273 #3846A0 #5261C3

Accessibility & contrast

On white

11.71
#283273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#283273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283273
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283273#FFFFFF#000000##FFFFFF
##2832731.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283273;
/* rgb */ color: rgb(40, 50, 115);
/* oklch */ color: oklch(34.8% 0.112 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b699c',
    500: '#283273',
    950: '#000000',
  },
}
SCSS
$custom: #283273;
$custom-light: #6b699c;
$custom-dark: #000000;
JSON
{
  "hex": "#283273",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 232,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34811,
    "c": 0.11165,
    "h": 272.6
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283273

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

Preview Lab → · Contrast checker → · Palette generator →

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