#262A86#262A86

#262A86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.150 H 273.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#262A86
RGBrgb(38, 42, 134)
HSLhsl(238, 56%, 34%)
HSVhsv(238, 72%, 53%)
CMYKcmyk(71.6%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.96, 30.36, -51.88)
CIE-LCHlch(22.96, 60.12, 300.34°)
OKLaboklab(34.83% 0.0093 -0.1499)
OKLCHoklch(34.83% 0.15 273.6)
XYZxyz(5.9289, 3.7887, 22.9685)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A86 #868226
analogous
#265A86 #262A86 #522686
triadic
#262A86 #86262A #2A8626
tetradic
#262A86 #86265A #868226 #268652
square
#262A86 #86265A #868226 #268652
split-complementary
#262A86 #865226 #5A8626
monochromatic
#0B0C27 #181B56 #262A86 #3439B6 #575CCF

Accessibility & contrast

On white

11.95
#262A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A86
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A86#FFFFFF#000000##FFFFFF
##262A861.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262a86;
/* rgb */ color: rgb(38, 42, 134);
/* oklch */ color: oklch(34.8% 0.150 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f64aa',
    500: '#262a86',
    950: '#000000',
  },
}
SCSS
$custom: #262a86;
$custom-light: #6f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262a86",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 237.5,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.15018,
    "h": 273.6
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#262A86
secondary
#B4B054
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262A86

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

Preview Lab → · Contrast checker → · Palette generator →

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