#262160#262160

#262160 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.6% C 0.108 H 281.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#262160
RGBrgb(38, 33, 96)
HSLhsl(245, 49%, 25%)
HSVhsv(245, 66%, 38%)
CMYKcmyk(60.4%, 65.6%, 0%, 62.4%)
CIE-LABlab(17.20, 22.51, -36.84)
CIE-LCHlch(17.20, 43.18, 301.43°)
OKLaboklab(29.55% 0.0207 -0.1058)
OKLCHoklch(29.55% 0.108 281.1)
XYZxyz(3.4538, 2.3441, 11.3345)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262160 #5B6021
analogous
#213B60 #262160 #452160
triadic
#262160 #602621 #216026
tetradic
#262160 #60213B #5B6021 #216045
square
#262160 #60213B #5B6021 #216045
split-complementary
#262160 #604521 #3B6021
monochromatic
#090817 #141132 #262160 #38318E #4A40BB

Accessibility & contrast

On white

14.30
#262160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262160
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262160#FFFFFF#000000##FFFFFF
##2621601.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#07303D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262160;
/* rgb */ color: rgb(38, 33, 96);
/* oklch */ color: oklch(29.6% 0.108 281.1);
Tailwind
colors: {
  custom: {
    50: '#675c8e',
    500: '#262160',
    950: '#000000',
  },
}
SCSS
$custom: #262160;
$custom-light: #675c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#262160",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 244.762,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.10783,
    "h": 281.1
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#262160
secondary
#8E9449
accent
#D84FCE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #262160

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

Preview Lab → · Contrast checker → · Palette generator →

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