#283261#283261

#283261 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.083 H 272.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#283261
RGBrgb(40, 50, 97)
HSLhsl(229, 42%, 27%)
HSVhsv(229, 59%, 38%)
CMYKcmyk(58.8%, 48.5%, 0%, 62%)
CIE-LABlab(22.29, 11.36, -29.29)
CIE-LCHlch(22.29, 31.42, 291.20°)
OKLaboklab(33.43% 0.0031 -0.0834)
OKLCHoklch(33.43% 0.083 272.1)
XYZxyz(4.1726, 3.5951, 11.7810)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283261 #615728
analogous
#284F61 #283261 #3B2861
triadic
#283261 #612832 #326128
tetradic
#283261 #61284F #615728 #28613B
square
#283261 #61284F #615728 #28613B
split-complementary
#283261 #613B28 #4F6128
monochromatic
#090B16 #161C36 #283261 #3A488C #4E60B6

Accessibility & contrast

On white

12.22
#283261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283261
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283261#FFFFFF#000000##FFFFFF
##2832611.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3863
Deuteranopia (green-blind)
#163360
Tritanopia (blue-blind)
#093C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283261;
/* rgb */ color: rgb(40, 50, 97);
/* oklch */ color: oklch(33.4% 0.083 272.1);
Tailwind
colors: {
  custom: {
    50: '#67698e',
    500: '#283261',
    950: '#000000',
  },
}
SCSS
$custom: #283261;
$custom-light: #67698e;
$custom-dark: #000000;
JSON
{
  "hex": "#283261",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 229.474,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.08346,
    "h": 272.1
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#283261
secondary
#948851
accent
#BC56D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #283261

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

Preview Lab → · Contrast checker → · Palette generator →

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