#262A61#262A61

#262A61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.096 H 276.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#262A61
RGBrgb(38, 42, 97)
HSLhsl(236, 44%, 26%)
HSVhsv(236, 61%, 38%)
CMYKcmyk(60.8%, 56.7%, 0%, 62%)
CIE-LABlab(19.76, 16.58, -33.35)
CIE-LCHlch(19.76, 37.24, 296.43°)
OKLaboklab(31.48% 0.0105 -0.0955)
OKLCHoklch(31.48% 0.096 276.3)
XYZxyz(3.7843, 2.9308, 11.6732)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A61 #615D26
analogous
#264861 #262A61 #402661
triadic
#262A61 #61262A #2A6126
tetradic
#262A61 #612648 #615D26 #266140
square
#262A61 #612648 #615D26 #266140
split-complementary
#262A61 #614026 #486126
monochromatic
#090A16 #151735 #262A61 #373D8D #4A51B8

Accessibility & contrast

On white

13.24
#262A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#262A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A61
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A61#FFFFFF#000000##FFFFFF
##262A611.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093263
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#043741
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262a61;
/* rgb */ color: rgb(38, 42, 97);
/* oklch */ color: oklch(31.5% 0.096 276.3);
Tailwind
colors: {
  custom: {
    50: '#66638e',
    500: '#262a61',
    950: '#000000',
  },
}
SCSS
$custom: #262a61;
$custom-light: #66638e;
$custom-dark: #000000;
JSON
{
  "hex": "#262a61",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 235.932,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31481,
    "c": 0.09603,
    "h": 276.3
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#262A61
secondary
#948F4F
accent
#CB54D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262A61

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

Preview Lab → · Contrast checker → · Palette generator →

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