#283275#283275

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

Color values

HEX#283275
RGBrgb(40, 50, 117)
HSLhsl(232, 49%, 31%)
HSVhsv(232, 66%, 46%)
CMYKcmyk(65.8%, 57.3%, 0%, 54.1%)
CIE-LABlab(23.72, 18.89, -39.89)
CIE-LCHlch(23.72, 44.14, 295.35°)
OKLaboklab(34.98% 0.0053 -0.1145)
OKLCHoklch(34.98% 0.115 272.6)
XYZxyz(5.2255, 4.0162, 17.3260)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283275 #756B28
analogous
#285875 #283275 #442875
triadic
#283275 #752832 #327528
tetradic
#283275 #752858 #756B28 #287544
square
#283275 #752858 #756B28 #287544
split-complementary
#283275 #754428 #587528
monochromatic
#090B1A #181F47 #283275 #3845A3 #5362C4

Accessibility & contrast

On white

11.64
#283275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283275
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283275#FFFFFF#000000##FFFFFF
##2832751.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013C77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283275;
/* rgb */ color: rgb(40, 50, 117);
/* oklch */ color: oklch(35.0% 0.115 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b699d',
    500: '#283275',
    950: '#000000',
  },
}
SCSS
$custom: #283275;
$custom-light: #6b699d;
$custom-dark: #000000;
JSON
{
  "hex": "#283275",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 232.208,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.11467,
    "h": 272.6
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#283275
secondary
#A79C52
accent
#C74FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283275

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

Preview Lab → · Contrast checker → · Palette generator →

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