#262D89#262D89

#262D89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.151 H 272.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#262D89
RGBrgb(38, 45, 137)
HSLhsl(236, 57%, 34%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(72.3%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.98, 29.50, -52.09)
CIE-LCHlch(23.98, 59.86, 299.52°)
OKLaboklab(35.66% 0.0069 -0.1505)
OKLCHoklch(35.66% 0.151 272.6)
XYZxyz(6.2516, 4.0944, 24.1229)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D89 #898226
analogous
#265F89 #262D89 #512689
triadic
#262D89 #89262D #2D8926
tetradic
#262D89 #89265F #898226 #268951
square
#262D89 #89265F #898226 #268951
split-complementary
#262D89 #895126 #5F8926
monochromatic
#0B0E29 #191D59 #262D89 #333DB9 #5961D1

Accessibility & contrast

On white

11.54
#262D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D89
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D89#FFFFFF#000000##FFFFFF
##262D891.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262d89;
/* rgb */ color: rgb(38, 45, 137);
/* oklch */ color: oklch(35.7% 0.151 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f66ac',
    500: '#262d89',
    950: '#000000',
  },
}
SCSS
$custom: #262d89;
$custom-light: #6f66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262d89",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 235.758,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.15063,
    "h": 272.6
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#262D89
secondary
#B6AF55
accent
#D548E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D89

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

Preview Lab → · Contrast checker → · Palette generator →

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