#262A92#262A92

#262A92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.166 H 272.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#262A92
RGBrgb(38, 42, 146)
HSLhsl(238, 59%, 36%)
HSVhsv(238, 74%, 57%)
CMYKcmyk(74%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.14, 34.70, -57.42)
CIE-LCHlch(24.14, 67.09, 301.15°)
OKLaboklab(36.04% 0.0079 -0.1661)
OKLCHoklch(36.04% 0.166 272.7)
XYZxyz(6.8139, 4.1426, 27.6291)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A92 #928E26
analogous
#266092 #262A92 #582692
triadic
#262A92 #92262A #2A9226
tetradic
#262A92 #922660 #928E26 #269258
square
#262A92 #922660 #928E26 #269258
split-complementary
#262A92 #925826 #609226
monochromatic
#0D0E31 #191C61 #262A92 #3338C3 #5D62D5

Accessibility & contrast

On white

11.48
#262A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A92
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A92#FFFFFF#000000##FFFFFF
##262A921.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262a92;
/* rgb */ color: rgb(38, 42, 146);
/* oklch */ color: oklch(36.0% 0.166 272.7);
Tailwind
colors: {
  custom: {
    50: '#7264b3',
    500: '#262a92',
    950: '#000000',
  },
}
SCSS
$custom: #262a92;
$custom-light: #7264b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262a92",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 237.778,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36043,
    "c": 0.16625,
    "h": 272.7
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#262A92
secondary
#BAB65A
accent
#DC46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A92

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

Preview Lab → · Contrast checker → · Palette generator →

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