#262D65#262D65

#262D65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.098 H 274.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#262D65
RGBrgb(38, 45, 101)
HSLhsl(233, 45%, 27%)
HSVhsv(233, 62%, 40%)
CMYKcmyk(62.4%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.94, 15.95, -34.08)
CIE-LCHlch(20.94, 37.63, 295.08°)
OKLaboklab(32.46% 0.0073 -0.0976)
OKLCHoklch(32.46% 0.098 274.2)
XYZxyz(4.0859, 3.2281, 12.7172)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D65 #655E26
analogous
#264D65 #262D65 #3E2665
triadic
#262D65 #65262D #2D6526
tetradic
#262D65 #65264D #655E26 #26653E
square
#262D65 #65264D #655E26 #26653E
split-complementary
#262D65 #653E26 #4D6526
monochromatic
#080A16 #151939 #262D65 #374191 #4A57BB

Accessibility & contrast

On white

12.76
#262D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D65
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D65#FFFFFF#000000##FFFFFF
##262D651.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262d65;
/* rgb */ color: rgb(38, 45, 101);
/* oklch */ color: oklch(32.5% 0.098 274.2);
Tailwind
colors: {
  custom: {
    50: '#676591',
    500: '#262d65',
    950: '#000000',
  },
}
SCSS
$custom: #262d65;
$custom-light: #676591;
$custom-dark: #000000;
JSON
{
  "hex": "#262d65",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 233.333,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.09785,
    "h": 274.2
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#262D65
secondary
#98904F
accent
#C753D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #262D65

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

Preview Lab → · Contrast checker → · Palette generator →

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