#262C96#262C96

#262C96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.169 H 272.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#262C96
RGBrgb(38, 44, 150)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(74.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.00, 34.88, -58.47)
CIE-LCHlch(25.00, 68.08, 300.82°)
OKLaboklab(36.78% 0.0062 -0.1691)
OKLCHoklch(36.78% 0.169 272.1)
XYZxyz(7.2032, 4.4147, 29.3208)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C96 #969026
analogous
#266496 #262C96 #582696
triadic
#262C96 #96262C #2C9626
tetradic
#262C96 #962664 #969026 #269658
square
#262C96 #962664 #969026 #269658
split-complementary
#262C96 #965826 #649626
monochromatic
#0D0F34 #1A1E65 #262C96 #323AC7 #6066D7

Accessibility & contrast

On white

11.15
#262C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C96
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C96#FFFFFF#000000##FFFFFF
##262C961.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262c96;
/* rgb */ color: rgb(38, 44, 150);
/* oklch */ color: oklch(36.8% 0.169 272.1);
Tailwind
colors: {
  custom: {
    50: '#7266b6',
    500: '#262c96',
    950: '#000000',
  },
}
SCSS
$custom: #262c96;
$custom-light: #7266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262c96",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 236.786,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36784,
    "c": 0.16924,
    "h": 272.1
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#262C96
secondary
#BCB75C
accent
#DA45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C96

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

Preview Lab → · Contrast checker → · Palette generator →

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