#262B86#262B86

#262B86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.149 H 273.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#262B86
RGBrgb(38, 43, 134)
HSLhsl(237, 56%, 34%)
HSVhsv(237, 72%, 53%)
CMYKcmyk(71.6%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.20, 29.71, -51.48)
CIE-LCHlch(23.20, 59.44, 299.99°)
OKLaboklab(35.01% 0.0086 -0.1487)
OKLCHoklch(35.01% 0.149 273.3)
XYZxyz(5.9648, 3.8605, 22.9804)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B86 #868126
analogous
#265B86 #262B86 #512686
triadic
#262B86 #86262B #2B8626
tetradic
#262B86 #86265B #868126 #268651
square
#262B86 #86265B #868126 #268651
split-complementary
#262B86 #865126 #5B8626
monochromatic
#0B0C27 #181C56 #262B86 #343AB6 #575DCF

Accessibility & contrast

On white

11.85
#262B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B86
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B86#FFFFFF#000000##FFFFFF
##262B861.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b86;
/* rgb */ color: rgb(38, 43, 134);
/* oklch */ color: oklch(35.0% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f64aa',
    500: '#262b86',
    950: '#000000',
  },
}
SCSS
$custom: #262b86;
$custom-light: #6f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262b86",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 236.875,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.14897,
    "h": 273.3
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#262B86
secondary
#B4AF54
accent
#D749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B86

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

Preview Lab → · Contrast checker → · Palette generator →

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