#262C7E#262C7E

#262C7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.137 H 273.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#262C7E
RGBrgb(38, 44, 126)
HSLhsl(236, 54%, 32%)
HSVhsv(236, 70%, 49%)
CMYKcmyk(69.8%, 65.1%, 0%, 50.6%)
CIE-LABlab(22.72, 26.08, -47.24)
CIE-LCHlch(22.72, 53.96, 298.90°)
OKLaboklab(34.43% 0.0084 -0.1363)
OKLCHoklch(34.43% 0.137 273.5)
XYZxyz(5.4647, 3.7193, 20.1645)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C7E #7E7826
analogous
#26587E #262C7E #4C267E
triadic
#262C7E #7E262C #2C7E26
tetradic
#262C7E #7E2658 #7E7826 #267E4C
square
#262C7E #7E2658 #7E7826 #267E4C
split-complementary
#262C7E #7E4C26 #587E26
monochromatic
#0A0B20 #181C4F #262C7E #343CAD #535BCB

Accessibility & contrast

On white

12.04
#262C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C7E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C7E#FFFFFF#000000##FFFFFF
##262C7E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262c7e;
/* rgb */ color: rgb(38, 44, 126);
/* oklch */ color: oklch(34.4% 0.137 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d65a4',
    500: '#262c7e',
    950: '#000000',
  },
}
SCSS
$custom: #262c7e;
$custom-light: #6d65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#262c7e",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 235.909,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.13653,
    "h": 273.5
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#262C7E
secondary
#B0A950
accent
#D34BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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