#262D92#262D92

#262D92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.163 H 272.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#262D92
RGBrgb(38, 45, 146)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(74%, 69.2%, 0%, 42.7%)
CIE-LABlab(24.84, 32.80, -56.26)
CIE-LCHlch(24.84, 65.13, 300.24°)
OKLaboklab(36.55% 0.006 -0.1627)
OKLCHoklch(36.55% 0.163 272.1)
XYZxyz(6.9243, 4.3635, 27.6659)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D92 #928B26
analogous
#266392 #262D92 #552692
triadic
#262D92 #92262D #2D9226
tetradic
#262D92 #922663 #928B26 #269255
square
#262D92 #922663 #928B26 #269255
split-complementary
#262D92 #925526 #639226
monochromatic
#0D0F31 #191E61 #262D92 #333CC3 #5D65D5

Accessibility & contrast

On white

11.21
#262D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D92
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D92#FFFFFF#000000##FFFFFF
##262D921.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262d92;
/* rgb */ color: rgb(38, 45, 146);
/* oklch */ color: oklch(36.5% 0.163 272.1);
Tailwind
colors: {
  custom: {
    50: '#7166b3',
    500: '#262d92',
    950: '#000000',
  },
}
SCSS
$custom: #262d92;
$custom-light: #7166b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262d92",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 236.111,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.16281,
    "h": 272.1
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#262D92
secondary
#BAB45A
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D92

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

Preview Lab → · Contrast checker → · Palette generator →

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