#262D7C#262D7C

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

Color values

HEX#262D7C
RGBrgb(38, 45, 124)
HSLhsl(235, 53%, 32%)
HSVhsv(235, 69%, 49%)
CMYKcmyk(69.4%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.80, 24.65, -45.84)
CIE-LCHlch(22.80, 52.05, 298.27°)
OKLaboklab(34.44% 0.0077 -0.1321)
OKLCHoklch(34.44% 0.132 273.3)
XYZxyz(5.3746, 3.7436, 19.5042)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D7C #7C7526
analogous
#26587C #262D7C #4A267C
triadic
#262D7C #7C262D #2D7C26
tetradic
#262D7C #7C2658 #7C7526 #267C4A
square
#262D7C #7C2658 #7C7526 #267C4A
split-complementary
#262D7C #7C4A26 #587C26
monochromatic
#090B1E #181C4D #262D7C #343EAB #525CCA

Accessibility & contrast

On white

12.01
#262D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D7C
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D7C#FFFFFF#000000##FFFFFF
##262D7C1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262d7c;
/* rgb */ color: rgb(38, 45, 124);
/* oklch */ color: oklch(34.4% 0.132 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#262d7c',
    950: '#000000',
  },
}
SCSS
$custom: #262d7c;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262d7c",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 235.116,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.13237,
    "h": 273.3
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#262D7C
secondary
#AEA650
accent
#D14BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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