#262296#262296

#262296 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.180 H 273.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#262296
RGBrgb(38, 34, 150)
HSLhsl(242, 63%, 36%)
HSVhsv(242, 77%, 59%)
CMYKcmyk(74.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.85, 40.85, -62.00)
CIE-LCHlch(22.85, 74.25, 303.38°)
OKLaboklab(35.25% 0.0114 -0.1794)
OKLCHoklch(35.25% 0.18 273.6)
XYZxyz(6.8745, 3.7574, 29.2112)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262296 #929622
analogous
#225896 #262296 #602296
triadic
#262296 #962622 #229626
tetradic
#262296 #962258 #929622 #229660
square
#262296 #962258 #929622 #229660
split-complementary
#262296 #966022 #589622
monochromatic
#0D0B32 #191764 #262296 #332DC8 #5D59D9

Accessibility & contrast

On white

11.99
#262296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262296
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262296#FFFFFF#000000##FFFFFF
##2622961.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262296;
/* rgb */ color: rgb(38, 34, 150);
/* oklch */ color: oklch(35.3% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#735fb6',
    500: '#262296',
    950: '#000000',
  },
}
SCSS
$custom: #262296;
$custom-light: #735fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#262296",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 242.069,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.17974,
    "h": 273.6
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#262296
secondary
#BABE56
accent
#E642E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262296

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

Preview Lab → · Contrast checker → · Palette generator →

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