#262255#262255

#262255 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.089 H 282.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#262255
RGBrgb(38, 34, 85)
HSLhsl(245, 43%, 23%)
HSVhsv(245, 60%, 33%)
CMYKcmyk(55.3%, 60%, 0%, 66.7%)
CIE-LABlab(16.56, 17.85, -30.53)
CIE-LCHlch(16.56, 35.36, 300.31°)
OKLaboklab(28.8% 0.0198 -0.0872)
OKLCHoklch(28.8% 0.089 282.8)
XYZxyz(3.0106, 2.2118, 8.8609)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262255 #515522
analogous
#223755 #262255 #3F2255
triadic
#262255 #552622 #225526
tetradic
#262255 #552237 #515522 #22553F
square
#262255 #552237 #515522 #22553F
split-complementary
#262255 #553F22 #375522
monochromatic
#0A0916 #121129 #262255 #3A3381 #4D45AC

Accessibility & contrast

On white

14.56
#262255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#262255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262255
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262255#FFFFFF#000000##FFFFFF
##2622551.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#012754
Tritanopia (blue-blind)
#142E37
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262255;
/* rgb */ color: rgb(38, 34, 85);
/* oklch */ color: oklch(28.8% 0.089 282.8);
Tailwind
colors: {
  custom: {
    50: '#655d85',
    500: '#262255',
    950: '#000000',
  },
}
SCSS
$custom: #262255;
$custom-light: #655d85;
$custom-dark: #000000;
JSON
{
  "hex": "#262255",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 244.706,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28795,
    "c": 0.08945,
    "h": 282.8
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#262255
secondary
#84894A
accent
#D355C9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #262255

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

Preview Lab → · Contrast checker → · Palette generator →

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