#262156#262156

#262156 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.093 H 283.1°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#262156
RGBrgb(38, 33, 86)
HSLhsl(246, 45%, 23%)
HSVhsv(246, 62%, 34%)
CMYKcmyk(55.8%, 61.6%, 0%, 66.3%)
CIE-LABlab(16.36, 18.91, -31.52)
CIE-LCHlch(16.36, 36.76, 300.96°)
OKLaboklab(28.67% 0.0211 -0.0902)
OKLCHoklch(28.67% 0.093 283.1)
XYZxyz(3.0224, 2.1715, 9.0622)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262156 #515621
analogous
#213656 #262156 #402156
triadic
#262156 #562621 #215626
tetradic
#262156 #562136 #515621 #215640
square
#262156 #562136 #515621 #215640
split-complementary
#262156 #564021 #365621
monochromatic
#0A0816 #12102A #262156 #3A3282 #4D43AE

Accessibility & contrast

On white

14.64
#262156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262156
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262156#FFFFFF#000000##FFFFFF
##2621561.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#132D38
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262156;
/* rgb */ color: rgb(38, 33, 86);
/* oklch */ color: oklch(28.7% 0.093 283.1);
Tailwind
colors: {
  custom: {
    50: '#655c86',
    500: '#262156',
    950: '#000000',
  },
}
SCSS
$custom: #262156;
$custom-light: #655c86;
$custom-dark: #000000;
JSON
{
  "hex": "#262156",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 245.66,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28672,
    "c": 0.09259,
    "h": 283.1
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#262156
secondary
#848A49
accent
#D454C8
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #262156

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

Preview Lab → · Contrast checker → · Palette generator →

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