#262885#262885

#262885 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.151 H 274.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#262885
RGBrgb(38, 40, 133)
HSLhsl(239, 56%, 34%)
HSVhsv(239, 71%, 52%)
CMYKcmyk(71.4%, 69.9%, 0%, 47.8%)
CIE-LABlab(22.38, 31.30, -52.20)
CIE-LCHlch(22.38, 60.87, 300.94°)
OKLaboklab(34.39% 0.0109 -0.1508)
OKLCHoklch(34.39% 0.151 274.1)
XYZxyz(5.7904, 3.6226, 22.5798)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262885 #858326
analogous
#265785 #262885 #532685
triadic
#262885 #852628 #288526
tetradic
#262885 #852657 #858326 #268553
square
#262885 #852657 #858326 #268553
split-complementary
#262885 #855326 #578526
monochromatic
#0B0B26 #181A55 #262885 #3436B5 #5759CF

Accessibility & contrast

On white

12.18
#262885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262885
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262885#FFFFFF#000000##FFFFFF
##2628851.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262885;
/* rgb */ color: rgb(38, 40, 133);
/* oklch */ color: oklch(34.4% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f62a9',
    500: '#262885',
    950: '#000000',
  },
}
SCSS
$custom: #262885;
$custom-light: #6f62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262885",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 238.737,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34386,
    "c": 0.15123,
    "h": 274.1
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#262885
secondary
#B3B153
accent
#DC49DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #262885

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

Preview Lab → · Contrast checker → · Palette generator →

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