#262C9A#262C9A

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

Color values

HEX#262C9A
RGBrgb(38, 44, 154)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(75.3%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.40, 36.31, -60.26)
CIE-LCHlch(25.40, 70.35, 301.07°)
OKLaboklab(37.2% 0.0056 -0.1744)
OKLCHoklch(37.2% 0.174 271.9)
XYZxyz(7.5308, 4.5457, 31.0461)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9A #9A9426
analogous
#26669A #262C9A #5A269A
triadic
#262C9A #9A262C #2C9A26
tetradic
#262C9A #9A2666 #9A9426 #269A5A
square
#262C9A #9A2666 #9A9426 #269A5A
split-complementary
#262C9A #9A5A26 #669A26
monochromatic
#0E1038 #1A1E69 #262C9A #323ACB #6268D8

Accessibility & contrast

On white

11.00
#262C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C9A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C9A#FFFFFF#000000##FFFFFF
##262C9A1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262c9a;
/* rgb */ color: rgb(38, 44, 154);
/* oklch */ color: oklch(37.2% 0.174 271.9);
Tailwind
colors: {
  custom: {
    50: '#7366b9',
    500: '#262c9a',
    950: '#000000',
  },
}
SCSS
$custom: #262c9a;
$custom-light: #7366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9a",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 236.897,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.17445,
    "h": 271.9
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#262C9A
secondary
#BEB95E
accent
#DB44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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