#262D9A#262D9A

#262D9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.173 H 271.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#262D9A
RGBrgb(38, 45, 154)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(75.3%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.63, 35.68, -59.88)
CIE-LCHlch(25.63, 69.71, 300.79°)
OKLaboklab(37.36% 0.0051 -0.1733)
OKLCHoklch(37.36% 0.173 271.7)
XYZxyz(7.5685, 4.6211, 31.0587)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D9A #9A9326
analogous
#26679A #262D9A #59269A
triadic
#262D9A #9A262D #2D9A26
tetradic
#262D9A #9A2667 #9A9326 #269A59
square
#262D9A #9A2667 #9A9326 #269A59
split-complementary
#262D9A #9A5926 #679A26
monochromatic
#0E1038 #1A1F69 #262D9A #323BCB #6269D8

Accessibility & contrast

On white

10.91
#262D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D9A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D9A#FFFFFF#000000##FFFFFF
##262D9A1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262d9a;
/* rgb */ color: rgb(38, 45, 154);
/* oklch */ color: oklch(37.4% 0.173 271.7);
Tailwind
colors: {
  custom: {
    50: '#7366b9',
    500: '#262d9a',
    950: '#000000',
  },
}
SCSS
$custom: #262d9a;
$custom-light: #7366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#262d9a",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 236.379,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.17334,
    "h": 271.7
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#262D9A
secondary
#BEB85E
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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