#262C8A#262C8A

#262C8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.153 H 272.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#262C8A
RGBrgb(38, 44, 138)
HSLhsl(236, 57%, 35%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(72.5%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.83, 30.52, -52.96)
CIE-LCHlch(23.83, 61.13, 299.96°)
OKLaboklab(35.58% 0.0075 -0.153)
OKLCHoklch(35.58% 0.153 272.8)
XYZxyz(6.2859, 4.0478, 24.4899)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C8A #8A8426
analogous
#265E8A #262C8A #52268A
triadic
#262C8A #8A262C #2C8A26
tetradic
#262C8A #8A265E #8A8426 #268A52
square
#262C8A #8A265E #8A8426 #268A52
split-complementary
#262C8A #8A5226 #5E8A26
monochromatic
#0C0D2A #191D5A #262C8A #333BBA #5960D1

Accessibility & contrast

On white

11.60
#262C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C8A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C8A#FFFFFF#000000##FFFFFF
##262C8A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262c8a;
/* rgb */ color: rgb(38, 44, 138);
/* oklch */ color: oklch(35.6% 0.153 272.8);
Tailwind
colors: {
  custom: {
    50: '#7065ad',
    500: '#262c8a',
    950: '#000000',
  },
}
SCSS
$custom: #262c8a;
$custom-light: #7065ad;
$custom-dark: #000000;
JSON
{
  "hex": "#262c8a",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 236.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35582,
    "c": 0.15321,
    "h": 272.8
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#262C8A
secondary
#B6B056
accent
#D748E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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