#262C9D#262C9D

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

Color values

HEX#262C9D
RGBrgb(38, 44, 157)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(75.8%, 72%, 0%, 38.4%)
CIE-LABlab(25.70, 37.37, -61.59)
CIE-LCHlch(25.70, 72.04, 301.25°)
OKLaboklab(37.51% 0.0052 -0.1782)
OKLCHoklch(37.51% 0.178 271.7)
XYZxyz(7.7838, 4.6469, 32.3785)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9D #9D9726
analogous
#26679D #262C9D #5B269D
triadic
#262C9D #9D262C #2C9D26
tetradic
#262C9D #9D2667 #9D9726 #269D5B
square
#262C9D #9D2667 #9D9726 #269D5B
split-complementary
#262C9D #9D5B26 #679D26
monochromatic
#0E103A #1A1E6C #262C9D #333ACE #646AD9

Accessibility & contrast

On white

10.88
#262C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#262C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C9D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C9D#FFFFFF#000000##FFFFFF
##262C9D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262c9d;
/* rgb */ color: rgb(38, 44, 157);
/* oklch */ color: oklch(37.5% 0.178 271.7);
Tailwind
colors: {
  custom: {
    50: '#7466bb',
    500: '#262c9d',
    950: '#000000',
  },
}
SCSS
$custom: #262c9d;
$custom-light: #7466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9d",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 236.975,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.17832,
    "h": 271.7
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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