#262C8C#262C8C

#262C8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.156 H 272.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#262C8C
RGBrgb(38, 44, 140)
HSLhsl(236, 57%, 35%)
HSVhsv(236, 73%, 55%)
CMYKcmyk(72.9%, 68.6%, 0%, 45.1%)
CIE-LABlab(24.02, 31.26, -53.89)
CIE-LCHlch(24.02, 62.30, 300.11°)
OKLaboklab(35.78% 0.0073 -0.1558)
OKLCHoklch(35.78% 0.156 272.7)
XYZxyz(6.4320, 4.1062, 25.2595)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C8C #8C8626
analogous
#265F8C #262C8C #53268C
triadic
#262C8C #8C262C #2C8C26
tetradic
#262C8C #8C265F #8C8626 #268C53
square
#262C8C #8C265F #8C8626 #268C53
split-complementary
#262C8C #8C5326 #5F8C26
monochromatic
#0C0E2C #191D5C #262C8C #333BBC #5A61D2

Accessibility & contrast

On white

11.53
#262C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C8C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C8C#FFFFFF#000000##FFFFFF
##262C8C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262c8c;
/* rgb */ color: rgb(38, 44, 140);
/* oklch */ color: oklch(35.8% 0.156 272.7);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#262c8c',
    950: '#000000',
  },
}
SCSS
$custom: #262c8c;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#262c8c",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 236.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.15593,
    "h": 272.7
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#262C8C
secondary
#B7B157
accent
#D847E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #262C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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