#262C9E#262C9E

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

Color values

HEX#262C9E
RGBrgb(38, 44, 158)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(75.9%, 72.2%, 0%, 38%)
CIE-LABlab(25.81, 37.72, -62.03)
CIE-LCHlch(25.81, 72.60, 301.31°)
OKLaboklab(37.61% 0.0051 -0.1795)
OKLCHoklch(37.61% 0.18 271.6)
XYZxyz(7.8695, 4.6812, 32.8299)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9E #9E9826
analogous
#26689E #262C9E #5C269E
triadic
#262C9E #9E262C #2C9E26
tetradic
#262C9E #9E2668 #9E9826 #269E5C
square
#262C9E #9E2668 #9E9826 #269E5C
split-complementary
#262C9E #9E5C26 #689E26
monochromatic
#0E113B #1A1E6D #262C9E #333BCE #656ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262C9E#FFFFFF#000000##FFFFFF
##262C9E1.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)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262c9e;
/* rgb */ color: rgb(38, 44, 158);
/* oklch */ color: oklch(37.6% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#7466bc',
    500: '#262c9e',
    950: '#000000',
  },
}
SCSS
$custom: #262c9e;
$custom-light: #7466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9e",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 237,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.1796,
    "h": 271.6
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#262C9E
secondary
#C0BB60
accent
#DC43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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