#262A57#262A57

#262A57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.080 H 276.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#262A57
RGBrgb(38, 42, 87)
HSLhsl(235, 39%, 25%)
HSVhsv(235, 56%, 34%)
CMYKcmyk(56.3%, 51.7%, 0%, 65.9%)
CIE-LABlab(19.04, 12.86, -27.89)
CIE-LCHlch(19.04, 30.71, 294.75°)
OKLaboklab(30.7% 0.0094 -0.0794)
OKLCHoklch(30.7% 0.08 276.8)
XYZxyz(3.3471, 2.7559, 9.3706)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A57 #575326
analogous
#264357 #262A57 #3B2657
triadic
#262A57 #57262A #2A5726
tetradic
#262A57 #572643 #575326 #26573B
square
#262A57 #572643 #575326 #26573B
split-complementary
#262A57 #573B26 #435726
monochromatic
#090A15 #13152C #262A57 #393F82 #4B53AC

Accessibility & contrast

On white

13.54
#262A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#262A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A57
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A57#FFFFFF#000000##FFFFFF
##262A571.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163059
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#11343C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262a57;
/* rgb */ color: rgb(38, 42, 87);
/* oklch */ color: oklch(30.7% 0.080 276.8);
Tailwind
colors: {
  custom: {
    50: '#656387',
    500: '#262a57',
    950: '#000000',
  },
}
SCSS
$custom: #262a57;
$custom-light: #656387;
$custom-dark: #000000;
JSON
{
  "hex": "#262a57",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 235.102,
    "s": 39.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30701,
    "c": 0.07997,
    "h": 276.8
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#262A57
secondary
#8A854F
accent
#C559CF
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262A57

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

Preview Lab → · Contrast checker → · Palette generator →

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