#262A96#262A96

#262A96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 272.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#262A96
RGBrgb(38, 42, 150)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(74.7%, 72%, 0%, 41.2%)
CIE-LABlab(24.54, 36.13, -59.22)
CIE-LCHlch(24.54, 69.37, 301.39°)
OKLaboklab(36.46% 0.0073 -0.1713)
OKLCHoklch(36.46% 0.171 272.4)
XYZxyz(7.1305, 4.2693, 29.2965)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A96 #969226
analogous
#266296 #262A96 #5A2696
triadic
#262A96 #96262A #2A9626
tetradic
#262A96 #962662 #969226 #26965A
square
#262A96 #962662 #969226 #26965A
split-complementary
#262A96 #965A26 #629626
monochromatic
#0D0F34 #1A1C65 #262A96 #3238C7 #6064D7

Accessibility & contrast

On white

11.33
#262A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A96
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A96#FFFFFF#000000##FFFFFF
##262A961.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262a96;
/* rgb */ color: rgb(38, 42, 150);
/* oklch */ color: oklch(36.5% 0.171 272.4);
Tailwind
colors: {
  custom: {
    50: '#7364b6',
    500: '#262a96',
    950: '#000000',
  },
}
SCSS
$custom: #262a96;
$custom-light: #7364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262a96",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 237.857,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36457,
    "c": 0.17148,
    "h": 272.4
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#262A96
secondary
#BCB85C
accent
#DD45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A96

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

Preview Lab → · Contrast checker → · Palette generator →

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