#262C7D#262C7D

#262C7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.135 H 273.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#262C7D
RGBrgb(38, 44, 125)
HSLhsl(236, 53%, 32%)
HSVhsv(236, 70%, 49%)
CMYKcmyk(69.6%, 64.8%, 0%, 51%)
CIE-LABlab(22.63, 25.71, -46.75)
CIE-LCHlch(22.63, 53.35, 298.80°)
OKLaboklab(34.34% 0.0085 -0.1348)
OKLCHoklch(34.34% 0.135 273.6)
XYZxyz(5.4004, 3.6936, 19.8264)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C7D #7D7726
analogous
#26587D #262C7D #4C267D
triadic
#262C7D #7D262C #2C7D26
tetradic
#262C7D #7D2658 #7D7726 #267D4C
square
#262C7D #7D2658 #7D7726 #267D4C
split-complementary
#262C7D #7D4C26 #587D26
monochromatic
#090B1F #181B4E #262C7D #343DAC #535BCB

Accessibility & contrast

On white

12.08
#262C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C7D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C7D#FFFFFF#000000##FFFFFF
##262C7D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c7d;
/* rgb */ color: rgb(38, 44, 125);
/* oklch */ color: oklch(34.3% 0.135 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c65a3',
    500: '#262c7d',
    950: '#000000',
  },
}
SCSS
$custom: #262c7d;
$custom-light: #6c65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262c7d",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 235.862,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.13512,
    "h": 273.6
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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