#262C83#262C83

#262C83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.144 H 273.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#262C83
RGBrgb(38, 44, 131)
HSLhsl(236, 55%, 33%)
HSVhsv(236, 71%, 51%)
CMYKcmyk(71%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.17, 27.94, -49.65)
CIE-LCHlch(23.17, 56.97, 299.37°)
OKLaboklab(34.9% 0.0081 -0.1433)
OKLCHoklch(34.9% 0.144 273.2)
XYZxyz(5.7954, 3.8516, 21.9063)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C83 #837D26
analogous
#265A83 #262C83 #4E2683
triadic
#262C83 #83262C #2C8326
tetradic
#262C83 #83265A #837D26 #26834E
square
#262C83 #83265A #837D26 #26834E
split-complementary
#262C83 #834E26 #5A8326
monochromatic
#0A0C24 #181C54 #262C83 #343CB2 #565DCE

Accessibility & contrast

On white

11.86
#262C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C83
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C83#FFFFFF#000000##FFFFFF
##262C831.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262c83;
/* rgb */ color: rgb(38, 44, 131);
/* oklch */ color: oklch(34.9% 0.144 273.2);
Tailwind
colors: {
  custom: {
    50: '#6e65a8',
    500: '#262c83',
    950: '#000000',
  },
}
SCSS
$custom: #262c83;
$custom-light: #6e65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#262c83",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 236.129,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.14357,
    "h": 273.2
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#262C83
secondary
#B2AC52
accent
#D549DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C83

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

Preview Lab → · Contrast checker → · Palette generator →

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