#262C9F#262C9F

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

Color values

HEX#262C9F
RGBrgb(38, 44, 159)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(76.1%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.91, 38.08, -62.47)
CIE-LCHlch(25.91, 73.16, 301.36°)
OKLaboklab(37.71% 0.005 -0.1808)
OKLCHoklch(37.71% 0.181 271.6)
XYZxyz(7.9559, 4.7158, 33.2851)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9F #9F9926
analogous
#26689F #262C9F #5C269F
triadic
#262C9F #9F262C #2C9F26
tetradic
#262C9F #9F2668 #9F9926 #269F5C
square
#262C9F #9F2668 #9F9926 #269F5C
split-complementary
#262C9F #9F5C26 #689F26
monochromatic
#0E113C #1A1E6E #262C9F #343BCE #656BDA

Accessibility & contrast

On white

10.81
#262C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C9F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C9F#FFFFFF#000000##FFFFFF
##262C9F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262c9f;
/* rgb */ color: rgb(38, 44, 159);
/* oklch */ color: oklch(37.7% 0.181 271.6);
Tailwind
colors: {
  custom: {
    50: '#7566bd',
    500: '#262c9f',
    950: '#000000',
  },
}
SCSS
$custom: #262c9f;
$custom-light: #7566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9f",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 237.025,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.18088,
    "h": 271.6
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#262C9F
secondary
#C0BB61
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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