#262C9C#262C9C

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

Color values

HEX#262C9C
RGBrgb(38, 44, 156)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 61%)
CMYKcmyk(75.6%, 71.8%, 0%, 38.8%)
CIE-LABlab(25.60, 37.02, -61.15)
CIE-LCHlch(25.60, 71.48, 301.19°)
OKLaboklab(37.4% 0.0054 -0.1769)
OKLCHoklch(37.4% 0.177 271.7)
XYZxyz(7.6987, 4.6129, 31.9307)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C9C #9C9626
analogous
#26679C #262C9C #5B269C
triadic
#262C9C #9C262C #2C9C26
tetradic
#262C9C #9C2667 #9C9626 #269C5B
square
#262C9C #9C2667 #9C9626 #269C5B
split-complementary
#262C9C #9C5B26 #679C26
monochromatic
#0E103A #1A1E6B #262C9C #323ACD #6369D9

Accessibility & contrast

On white

10.92
#262C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C9C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C9C#FFFFFF#000000##FFFFFF
##262C9C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c9c;
/* rgb */ color: rgb(38, 44, 156);
/* oklch */ color: oklch(37.4% 0.177 271.7);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#262c9c',
    950: '#000000',
  },
}
SCSS
$custom: #262c9c;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262c9c",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 236.949,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.17703,
    "h": 271.7
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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