#262E92#262E92

#262E92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.162 H 271.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#262E92
RGBrgb(38, 46, 146)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(74%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.08, 32.15, -55.87)
CIE-LCHlch(25.08, 64.46, 299.92°)
OKLaboklab(36.72% 0.0054 -0.1615)
OKLCHoklch(36.72% 0.162 271.9)
XYZxyz(6.9629, 4.4407, 27.6787)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E92 #928A26
analogous
#266492 #262E92 #542692
triadic
#262E92 #92262E #2E9226
tetradic
#262E92 #922664 #928A26 #269254
square
#262E92 #922664 #928A26 #269254
split-complementary
#262E92 #925426 #649226
monochromatic
#0D0F31 #191F61 #262E92 #333DC3 #5D66D5

Accessibility & contrast

On white

11.12
#262E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E92
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E92#FFFFFF#000000##FFFFFF
##262E921.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262e92;
/* rgb */ color: rgb(38, 46, 146);
/* oklch */ color: oklch(36.7% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7167b3',
    500: '#262e92',
    950: '#000000',
  },
}
SCSS
$custom: #262e92;
$custom-light: #7167b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262e92",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 235.556,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36724,
    "c": 0.16163,
    "h": 271.9
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#262E92
secondary
#BAB35A
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E92

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

Preview Lab → · Contrast checker → · Palette generator →

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