#262A55#262A55

#262A55 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.077 H 276.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#262A55
RGBrgb(38, 42, 85)
HSLhsl(235, 38%, 24%)
HSVhsv(235, 55%, 33%)
CMYKcmyk(55.3%, 50.6%, 0%, 66.7%)
CIE-LABlab(18.90, 12.12, -26.77)
CIE-LCHlch(18.90, 29.39, 294.36°)
OKLaboklab(30.55% 0.0091 -0.0761)
OKLCHoklch(30.55% 0.077 276.8)
XYZxyz(3.2665, 2.7237, 8.9462)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A55 #555126
analogous
#264255 #262A55 #3A2655
triadic
#262A55 #55262A #2A5526
tetradic
#262A55 #552642 #555126 #26553A
square
#262A55 #552642 #555126 #26553A
split-complementary
#262A55 #553A26 #425526
monochromatic
#090A15 #13152B #262A55 #393F7F #4C54AA

Accessibility & contrast

On white

13.59
#262A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#262A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A55
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A55#FFFFFF#000000##FFFFFF
##262A551.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#13333B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262a55;
/* rgb */ color: rgb(38, 42, 85);
/* oklch */ color: oklch(30.6% 0.077 276.8);
Tailwind
colors: {
  custom: {
    50: '#646385',
    500: '#262a55',
    950: '#000000',
  },
}
SCSS
$custom: #262a55;
$custom-light: #646385;
$custom-dark: #000000;
JSON
{
  "hex": "#262a55",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 234.894,
    "s": 38.211,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.07668,
    "h": 276.8
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#262A55
secondary
#88834F
accent
#C45ACE
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262A55

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

Preview Lab → · Contrast checker → · Palette generator →

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