#262595#262595

#262595 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.175 H 273.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#262595
RGBrgb(38, 37, 149)
HSLhsl(241, 60%, 36%)
HSVhsv(241, 75%, 58%)
CMYKcmyk(74.5%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.35, 38.79, -60.56)
CIE-LCHlch(23.35, 71.92, 302.64°)
OKLaboklab(35.58% 0.0101 -0.1752)
OKLCHoklch(35.58% 0.176 273.3)
XYZxyz(6.8839, 3.9044, 28.8188)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262595 #949525
analogous
#255C95 #262595 #5E2595
triadic
#262595 #952625 #259526
tetradic
#262595 #95255C #949525 #25955E
square
#262595 #95255C #949525 #25955E
split-complementary
#262595 #955E25 #5C9525
monochromatic
#0D0D33 #191964 #262595 #3331C6 #5F5ED7

Accessibility & contrast

On white

11.79
#262595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262595
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262595#FFFFFF#000000##FFFFFF
##2625951.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262595;
/* rgb */ color: rgb(38, 37, 149);
/* oklch */ color: oklch(35.6% 0.175 273.3);
Tailwind
colors: {
  custom: {
    50: '#7361b5',
    500: '#262595',
    950: '#000000',
  },
}
SCSS
$custom: #262595;
$custom-light: #7361b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262595",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 240.536,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.1755,
    "h": 273.3
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#262595
secondary
#BBBC5A
accent
#E344E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262595

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

Preview Lab → · Contrast checker → · Palette generator →

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