#262A5B#262A5B

#262A5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.086 H 276.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#262A5B
RGBrgb(38, 42, 91)
HSLhsl(235, 41%, 25%)
HSVhsv(235, 58%, 36%)
CMYKcmyk(58.2%, 53.8%, 0%, 64.3%)
CIE-LABlab(19.32, 14.34, -30.10)
CIE-LCHlch(19.32, 33.34, 295.47°)
OKLaboklab(31.01% 0.0099 -0.0859)
OKLCHoklch(31.01% 0.086 276.6)
XYZxyz(3.5150, 2.8231, 10.2552)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A5B #5B5726
analogous
#26445B #262A5B #3D265B
triadic
#262A5B #5B262A #2A5B26
tetradic
#262A5B #5B2644 #5B5726 #265B3D
square
#262A5B #5B2644 #5B5726 #265B3D
split-complementary
#262A5B #5B3D26 #445B26
monochromatic
#090A16 #141630 #262A5B #383E86 #4A52B1

Accessibility & contrast

On white

13.42
#262A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A5B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A5B#FFFFFF#000000##FFFFFF
##262A5B1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#0B2D5A
Tritanopia (blue-blind)
#0D353E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262a5b;
/* rgb */ color: rgb(38, 42, 91);
/* oklch */ color: oklch(31.0% 0.086 276.6);
Tailwind
colors: {
  custom: {
    50: '#65638a',
    500: '#262a5b',
    950: '#000000',
  },
}
SCSS
$custom: #262a5b;
$custom-light: #65638a;
$custom-dark: #000000;
JSON
{
  "hex": "#262a5b",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 235.472,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31005,
    "c": 0.08647,
    "h": 276.6
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#262A5B
secondary
#8E894F
accent
#C857D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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