#262C86#262C86

#262C86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.148 H 273.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#262C86
RGBrgb(38, 44, 134)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 72%, 53%)
CMYKcmyk(71.6%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.45, 29.05, -51.08)
CIE-LCHlch(23.45, 58.76, 299.63°)
OKLaboklab(35.19% 0.0079 -0.1475)
OKLCHoklch(35.19% 0.148 273.1)
XYZxyz(6.0016, 3.9341, 22.9927)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C86 #868026
analogous
#265C86 #262C86 #502686
triadic
#262C86 #86262C #2C8626
tetradic
#262C86 #86265C #868026 #268650
square
#262C86 #86265C #868026 #268650
split-complementary
#262C86 #865026 #5C8626
monochromatic
#0B0D27 #181C56 #262C86 #343CB6 #575FCF

Accessibility & contrast

On white

11.75
#262C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C86
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C86#FFFFFF#000000##FFFFFF
##262C861.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c86;
/* rgb */ color: rgb(38, 44, 134);
/* oklch */ color: oklch(35.2% 0.148 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f65aa',
    500: '#262c86',
    950: '#000000',
  },
}
SCSS
$custom: #262c86;
$custom-light: #6f65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262c86",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 236.25,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.14773,
    "h": 273.1
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#262C86
secondary
#B4AE54
accent
#D649DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C86

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

Preview Lab → · Contrast checker → · Palette generator →

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