#262C85#262C85

#262C85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.146 H 273.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#262C85
RGBrgb(38, 44, 133)
HSLhsl(236, 56%, 34%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(71.4%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.36, 28.68, -50.60)
CIE-LCHlch(23.36, 58.17, 299.54°)
OKLaboklab(35.1% 0.008 -0.1461)
OKLCHoklch(35.1% 0.146 273.1)
XYZxyz(5.9322, 3.9063, 22.6271)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C85 #857F26
analogous
#265B85 #262C85 #4F2685
triadic
#262C85 #85262C #2C8526
tetradic
#262C85 #85265B #857F26 #26854F
square
#262C85 #85265B #857F26 #26854F
split-complementary
#262C85 #854F26 #5B8526
monochromatic
#0B0D26 #181C55 #262C85 #343CB5 #575ECF

Accessibility & contrast

On white

11.79
#262C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C85
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C85#FFFFFF#000000##FFFFFF
##262C851.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262c85;
/* rgb */ color: rgb(38, 44, 133);
/* oklch */ color: oklch(35.1% 0.146 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e65a9',
    500: '#262c85',
    950: '#000000',
  },
}
SCSS
$custom: #262c85;
$custom-light: #6e65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262c85",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 236.211,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.14635,
    "h": 273.1
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#262C85
secondary
#B3AD53
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262C85

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

Preview Lab → · Contrast checker → · Palette generator →

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