#262896#262896

#262896 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.174 H 272.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#262896
RGBrgb(38, 40, 150)
HSLhsl(239, 60%, 37%)
HSVhsv(239, 75%, 59%)
CMYKcmyk(74.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.10, 37.35, -59.95)
CIE-LCHlch(24.10, 70.63, 301.93°)
OKLaboklab(36.14% 0.0084 -0.1734)
OKLCHoklch(36.14% 0.174 272.8)
XYZxyz(7.0613, 4.1309, 29.2735)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262896 #969426
analogous
#266096 #262896 #5C2696
triadic
#262896 #962628 #289626
tetradic
#262896 #962660 #969426 #26965C
square
#262896 #962660 #969426 #26965C
split-complementary
#262896 #965C26 #609626
monochromatic
#0D0E34 #1A1B65 #262896 #3235C7 #6062D7

Accessibility & contrast

On white

11.50
#262896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262896
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262896#FFFFFF#000000##FFFFFF
##2628961.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262896;
/* rgb */ color: rgb(38, 40, 150);
/* oklch */ color: oklch(36.1% 0.174 272.8);
Tailwind
colors: {
  custom: {
    50: '#7363b6',
    500: '#262896',
    950: '#000000',
  },
}
SCSS
$custom: #262896;
$custom-light: #7363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262896",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 238.929,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.17364,
    "h": 272.8
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#262896
secondary
#BCBA5C
accent
#E045E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262896

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

Preview Lab → · Contrast checker → · Palette generator →

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