#262C8D#262C8D

#262C8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.157 H 272.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#262C8D
RGBrgb(38, 44, 141)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 55%)
CMYKcmyk(73%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.12, 31.62, -54.35)
CIE-LCHlch(24.12, 62.88, 300.19°)
OKLaboklab(35.88% 0.0072 -0.1571)
OKLCHoklch(35.88% 0.157 272.6)
XYZxyz(6.5061, 4.1359, 25.6496)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C8D #8D8726
analogous
#265F8D #262C8D #54268D
triadic
#262C8D #8D262C #2C8D26
tetradic
#262C8D #8D265F #8D8726 #268D54
square
#262C8D #8D265F #8D8726 #268D54
split-complementary
#262C8D #8D5426 #5F8D26
monochromatic
#0C0E2D #191D5D #262C8D #333BBD #5B62D3

Accessibility & contrast

On white

11.49
#262C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C8D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C8D#FFFFFF#000000##FFFFFF
##262C8D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262c8d;
/* rgb */ color: rgb(38, 44, 141);
/* oklch */ color: oklch(35.9% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#262c8d',
    950: '#000000',
  },
}
SCSS
$custom: #262c8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#262c8d",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 236.505,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.15729,
    "h": 272.6
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#262C8D
secondary
#B8B257
accent
#D847E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #262C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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