#28263F#28263F

#28263F is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.3% C 0.045 H 286.8°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#28263F
RGBrgb(40, 38, 63)
HSLhsl(245, 25%, 20%)
HSVhsv(245, 40%, 25%)
CMYKcmyk(36.5%, 39.7%, 0%, 75.3%)
CIE-LABlab(16.48, 7.98, -15.59)
CIE-LCHlch(16.48, 17.52, 297.11°)
OKLaboklab(28.31% 0.0131 -0.0435)
OKLCHoklch(28.31% 0.045 286.8)
XYZxyz(2.4652, 2.1962, 4.9957)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28263F #3D3F26
analogous
#26313F #28263F #35263F
triadic
#28263F #3F2826 #263F28
tetradic
#28263F #3F2631 #3D3F26 #263F35
square
#28263F #3F2631 #3D3F26 #263F35
split-complementary
#28263F #3F3526 #313F26
monochromatic
#0C0C13 #100F19 #28263F #403D65 #58548B

Accessibility & contrast

On white

14.59
#28263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#28263F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28263F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28263F#FFFFFF#000000##FFFFFF
##28263F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2940
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#222B2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #28263f;
/* rgb */ color: rgb(40, 38, 63);
/* oklch */ color: oklch(28.3% 0.045 286.8);
Tailwind
colors: {
  custom: {
    50: '#636074',
    500: '#28263f',
    950: '#000000',
  },
}
SCSS
$custom: #28263f;
$custom-light: #636074;
$custom-dark: #000000;
JSON
{
  "hex": "#28263f",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 244.8,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28311,
    "c": 0.04542,
    "h": 286.8
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#28263F
secondary
#6E7150
accent
#C167BA
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #28263F

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

Preview Lab → · Contrast checker → · Palette generator →

#28263F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva