#262C9B#262C9B

#262C9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.176 H 271.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#262C9B
RGBrgb(38, 44, 155)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 75%, 61%)
CMYKcmyk(75.5%, 71.6%, 0%, 39.2%)
CIE-LABlab(25.50, 36.66, -60.70)
CIE-LCHlch(25.50, 70.92, 301.13°)
OKLaboklab(37.3% 0.0055 -0.1757)
OKLCHoklch(37.3% 0.176 271.8)
XYZxyz(7.6144, 4.5792, 31.4866)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9B #9B9526
analogous
#26669B #262C9B #5A269B
triadic
#262C9B #9B262C #2C9B26
tetradic
#262C9B #9B2666 #9B9526 #269B5A
square
#262C9B #9B2666 #9B9526 #269B5A
split-complementary
#262C9B #9B5A26 #669B26
monochromatic
#0E1039 #1A1E6A #262C9B #323ACC #6369D9

Accessibility & contrast

On white

10.96
#262C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C9B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C9B#FFFFFF#000000##FFFFFF
##262C9B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c9b;
/* rgb */ color: rgb(38, 44, 155);
/* oklch */ color: oklch(37.3% 0.176 271.8);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#262c9b',
    950: '#000000',
  },
}
SCSS
$custom: #262c9b;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9b",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 236.923,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37298,
    "c": 0.17575,
    "h": 271.8
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#262C9B
secondary
#BEB95F
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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