#262D9C#262D9C

#262D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.176 H 271.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#262D9C
RGBrgb(38, 45, 156)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 61%)
CMYKcmyk(75.6%, 71.2%, 0%, 38.8%)
CIE-LABlab(25.83, 36.40, -60.78)
CIE-LCHlch(25.83, 70.84, 300.92°)
OKLaboklab(37.56% 0.0048 -0.1759)
OKLCHoklch(37.56% 0.176 271.6)
XYZxyz(7.7364, 4.6883, 31.9433)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D9C #9C9526
analogous
#26689C #262D9C #5A269C
triadic
#262D9C #9C262D #2D9C26
tetradic
#262D9C #9C2668 #9C9526 #269C5A
square
#262D9C #9C2668 #9C9526 #269C5A
split-complementary
#262D9C #9C5A26 #689C26
monochromatic
#0E113A #1A1F6B #262D9C #323BCD #636AD9

Accessibility & contrast

On white

10.84
#262D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D9C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D9C#FFFFFF#000000##FFFFFF
##262D9C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262d9c;
/* rgb */ color: rgb(38, 45, 156);
/* oklch */ color: oklch(37.6% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#262d9c',
    950: '#000000',
  },
}
SCSS
$custom: #262d9c;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262d9c",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 236.441,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37564,
    "c": 0.17594,
    "h": 271.6
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#262D9C
secondary
#BFB95F
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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