#262C92#262C92

#262C92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.164 H 272.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#262C92
RGBrgb(38, 44, 146)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 57%)
CMYKcmyk(74%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.60, 33.44, -56.65)
CIE-LCHlch(24.60, 65.78, 300.55°)
OKLaboklab(36.38% 0.0067 -0.1638)
OKLCHoklch(36.38% 0.164 272.3)
XYZxyz(6.8866, 4.2881, 27.6533)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C92 #928C26
analogous
#266292 #262C92 #562692
triadic
#262C92 #92262C #2C9226
tetradic
#262C92 #922662 #928C26 #269256
square
#262C92 #922662 #928C26 #269256
split-complementary
#262C92 #925626 #629226
monochromatic
#0D0F31 #191D61 #262C92 #333BC3 #5D64D5

Accessibility & contrast

On white

11.30
#262C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C92
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C92#FFFFFF#000000##FFFFFF
##262C921.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262c92;
/* rgb */ color: rgb(38, 44, 146);
/* oklch */ color: oklch(36.4% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#7165b3',
    500: '#262c92',
    950: '#000000',
  },
}
SCSS
$custom: #262c92;
$custom-light: #7165b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262c92",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 236.667,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.16396,
    "h": 272.3
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#262C92
secondary
#BAB55A
accent
#D946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C92

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

Preview Lab → · Contrast checker → · Palette generator →

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