#262C99#262C99

#262C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.173 H 271.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#262C99
RGBrgb(38, 44, 153)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(75.2%, 71.2%, 0%, 40%)
CIE-LABlab(25.30, 35.95, -59.81)
CIE-LCHlch(25.30, 69.79, 301.01°)
OKLaboklab(37.09% 0.0058 -0.1731)
OKLCHoklch(37.09% 0.173 271.9)
XYZxyz(7.4478, 4.5126, 30.6093)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C99 #999326
analogous
#266599 #262C99 #5A2699
triadic
#262C99 #99262C #2C9926
tetradic
#262C99 #992665 #999326 #26995A
square
#262C99 #992665 #999326 #26995A
split-complementary
#262C99 #995A26 #659926
monochromatic
#0E1037 #1A1E68 #262C99 #323ACA #6268D8

Accessibility & contrast

On white

11.04
#262C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#262C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C99
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C99#FFFFFF#000000##FFFFFF
##262C991.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262c99;
/* rgb */ color: rgb(38, 44, 153);
/* oklch */ color: oklch(37.1% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#7366b8',
    500: '#262c99',
    950: '#000000',
  },
}
SCSS
$custom: #262c99;
$custom-light: #7366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262c99",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 236.87,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37092,
    "c": 0.17316,
    "h": 271.9
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#262C99
secondary
#BDB85E
accent
#DB44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C99

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

Preview Lab → · Contrast checker → · Palette generator →

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