#262D86#262D86

#262D86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.146 H 272.8°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#262D86
RGBrgb(38, 45, 134)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 72%, 53%)
CMYKcmyk(71.6%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.70, 28.39, -50.67)
CIE-LCHlch(23.70, 58.08, 299.26°)
OKLaboklab(35.38% 0.0071 -0.1463)
OKLCHoklch(35.38% 0.146 272.8)
XYZxyz(6.0393, 4.0095, 23.0053)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D86 #867F26
analogous
#265D86 #262D86 #4F2686
triadic
#262D86 #86262D #2D8626
tetradic
#262D86 #86265D #867F26 #26864F
square
#262D86 #86265D #867F26 #26864F
split-complementary
#262D86 #864F26 #5D8626
monochromatic
#0B0D27 #181D56 #262D86 #343DB6 #5760CF

Accessibility & contrast

On white

11.65
#262D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D86
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D86#FFFFFF#000000##FFFFFF
##262D861.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262d86;
/* rgb */ color: rgb(38, 45, 134);
/* oklch */ color: oklch(35.4% 0.146 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e66aa',
    500: '#262d86',
    950: '#000000',
  },
}
SCSS
$custom: #262d86;
$custom-light: #6e66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262d86",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 235.625,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35375,
    "c": 0.14649,
    "h": 272.8
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#262D86
secondary
#B4AD54
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D86

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

Preview Lab → · Contrast checker → · Palette generator →

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