#262256#262256

#262256 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.091 H 282.6°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#262256
RGBrgb(38, 34, 86)
HSLhsl(245, 43%, 24%)
HSVhsv(245, 60%, 34%)
CMYKcmyk(55.8%, 60.5%, 0%, 66.3%)
CIE-LABlab(16.64, 18.21, -31.08)
CIE-LCHlch(16.64, 36.02, 300.37°)
OKLaboklab(28.88% 0.0198 -0.0888)
OKLCHoklch(28.88% 0.091 282.6)
XYZxyz(3.0506, 2.2278, 9.0716)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262256 #525622
analogous
#223856 #262256 #402256
triadic
#262256 #562622 #225626
tetradic
#262256 #562238 #525622 #225640
square
#262256 #562238 #525622 #225640
split-complementary
#262256 #564022 #385622
monochromatic
#0A0916 #13112A #262256 #393382 #4D45AE

Accessibility & contrast

On white

14.53
#262256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#262256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262256
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262256#FFFFFF#000000##FFFFFF
##2622561.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#132E38
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262256;
/* rgb */ color: rgb(38, 34, 86);
/* oklch */ color: oklch(28.9% 0.091 282.6);
Tailwind
colors: {
  custom: {
    50: '#655d86',
    500: '#262256',
    950: '#000000',
  },
}
SCSS
$custom: #262256;
$custom-light: #655d86;
$custom-dark: #000000;
JSON
{
  "hex": "#262256",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 244.615,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28878,
    "c": 0.09102,
    "h": 282.6
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#262256
secondary
#858A4A
accent
#D355C9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #262256

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

Preview Lab → · Contrast checker → · Palette generator →

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