#283153#283153

#283153 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.062 H 271.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#283153
RGBrgb(40, 49, 83)
HSLhsl(227, 35%, 24%)
HSVhsv(227, 52%, 33%)
CMYKcmyk(51.8%, 41%, 0%, 67.5%)
CIE-LABlab(21.10, 6.96, -21.93)
CIE-LCHlch(21.10, 23.01, 287.61°)
OKLaboklab(32.24% 0.0015 -0.0619)
OKLCHoklch(32.24% 0.062 271.4)
XYZxyz(3.5342, 3.2721, 8.6273)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283153 #534A28
analogous
#284753 #283153 #352853
triadic
#283153 #532831 #315328
tetradic
#283153 #532847 #534A28 #285335
square
#283153 #532847 #534A28 #285335
split-complementary
#283153 #533528 #475328
monochromatic
#0A0C15 #14192A #283153 #3C497C #5062A6

Accessibility & contrast

On white

12.69
#283153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#283153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283153
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283153#FFFFFF#000000##FFFFFF
##2831531.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243554
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#17383E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283153;
/* rgb */ color: rgb(40, 49, 83);
/* oklch */ color: oklch(32.2% 0.062 271.4);
Tailwind
colors: {
  custom: {
    50: '#656883',
    500: '#283153',
    950: '#000000',
  },
}
SCSS
$custom: #283153;
$custom-light: #656883;
$custom-dark: #000000;
JSON
{
  "hex": "#283153",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 83
  },
  "hsl": {
    "h": 227.442,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.06188,
    "h": 271.4
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#283153
secondary
#867B51
accent
#B45DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #283153

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

Preview Lab → · Contrast checker → · Palette generator →

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