#262F86#262F86

#262F86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.144 H 272.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#262F86
RGBrgb(38, 47, 134)
HSLhsl(234, 56%, 34%)
HSVhsv(234, 72%, 53%)
CMYKcmyk(71.6%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.21, 27.05, -49.83)
CIE-LCHlch(24.21, 56.70, 298.49°)
OKLaboklab(35.75% 0.0056 -0.1439)
OKLCHoklch(35.75% 0.144 272.2)
XYZxyz(6.1175, 4.1657, 23.0313)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F86 #867D26
analogous
#265F86 #262F86 #4D2686
triadic
#262F86 #86262F #2F8626
tetradic
#262F86 #86265F #867D26 #26864D
square
#262F86 #86265F #867D26 #26864D
split-complementary
#262F86 #864D26 #5F8626
monochromatic
#0B0E27 #181E56 #262F86 #3440B6 #5762CF

Accessibility & contrast

On white

11.46
#262F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F86
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F86#FFFFFF#000000##FFFFFF
##262F861.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262f86;
/* rgb */ color: rgb(38, 47, 134);
/* oklch */ color: oklch(35.7% 0.144 272.2);
Tailwind
colors: {
  custom: {
    50: '#6e67aa',
    500: '#262f86',
    950: '#000000',
  },
}
SCSS
$custom: #262f86;
$custom-light: #6e67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#262f86",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 234.375,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35748,
    "c": 0.14397,
    "h": 272.2
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#262F86
secondary
#B4AB54
accent
#D149DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F86

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

Preview Lab → · Contrast checker → · Palette generator →

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