#262A59#262A59

#262A59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.083 H 276.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#262A59
RGBrgb(38, 42, 89)
HSLhsl(235, 40%, 25%)
HSVhsv(235, 57%, 35%)
CMYKcmyk(57.3%, 52.8%, 0%, 65.1%)
CIE-LABlab(19.18, 13.60, -29.00)
CIE-LCHlch(19.18, 32.03, 295.12°)
OKLaboklab(30.85% 0.0097 -0.0827)
OKLCHoklch(30.85% 0.083 276.7)
XYZxyz(3.4299, 2.7890, 9.8069)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A59 #595526
analogous
#264459 #262A59 #3C2659
triadic
#262A59 #59262A #2A5926
tetradic
#262A59 #592644 #595526 #26593C
square
#262A59 #592644 #595526 #26593C
split-complementary
#262A59 #593C26 #445926
monochromatic
#090A15 #14162E #262A59 #383E84 #4B52AF

Accessibility & contrast

On white

13.48
#262A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#262A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A59
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A59#FFFFFF#000000##FFFFFF
##262A591.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#0E2D58
Tritanopia (blue-blind)
#0F343D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262a59;
/* rgb */ color: rgb(38, 42, 89);
/* oklch */ color: oklch(30.9% 0.083 276.7);
Tailwind
colors: {
  custom: {
    50: '#656388',
    500: '#262a59',
    950: '#000000',
  },
}
SCSS
$custom: #262a59;
$custom-light: #656388;
$custom-dark: #000000;
JSON
{
  "hex": "#262a59",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 89
  },
  "hsl": {
    "h": 235.294,
    "s": 40.157,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30851,
    "c": 0.08324,
    "h": 276.7
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#262A59
secondary
#8C874F
accent
#C758D0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262A59

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

Preview Lab → · Contrast checker → · Palette generator →

#262A59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva