#262C7B#262C7B

#262C7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.132 H 273.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#262C7B
RGBrgb(38, 44, 123)
HSLhsl(236, 53%, 32%)
HSVhsv(236, 69%, 48%)
CMYKcmyk(69.1%, 64.2%, 0%, 51.8%)
CIE-LABlab(22.45, 24.96, -45.78)
CIE-LCHlch(22.45, 52.14, 298.60°)
OKLaboklab(34.15% 0.0086 -0.132)
OKLCHoklch(34.15% 0.132 273.7)
XYZxyz(5.2740, 3.6430, 19.1603)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C7B #7B7526
analogous
#26577B #262C7B #4B267B
triadic
#262C7B #7B262C #2C7B26
tetradic
#262C7B #7B2657 #7B7526 #267B4B
square
#262C7B #7B2657 #7B7526 #267B4B
split-complementary
#262C7B #7B4B26 #577B26
monochromatic
#090B1D #181B4C #262C7B #343DAA #525ACA

Accessibility & contrast

On white

12.15
#262C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C7B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C7B#FFFFFF#000000##FFFFFF
##262C7B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262c7b;
/* rgb */ color: rgb(38, 44, 123);
/* oklch */ color: oklch(34.2% 0.132 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c65a2',
    500: '#262c7b',
    950: '#000000',
  },
}
SCSS
$custom: #262c7b;
$custom-light: #6c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262c7b",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 235.765,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.13225,
    "h": 273.7
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#262C7B
secondary
#ADA750
accent
#D24CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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