#262D7B#262D7B

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

Color values

HEX#262D7B
RGBrgb(38, 45, 123)
HSLhsl(235, 53%, 32%)
HSVhsv(235, 69%, 48%)
CMYKcmyk(69.1%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.72, 24.28, -45.35)
CIE-LCHlch(22.72, 51.43, 298.16°)
OKLaboklab(34.35% 0.0077 -0.1307)
OKLCHoklch(34.35% 0.131 273.4)
XYZxyz(5.3117, 3.7184, 19.1729)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D7B #7B7426
analogous
#26587B #262D7B #4A267B
triadic
#262D7B #7B262D #2D7B26
tetradic
#262D7B #7B2658 #7B7426 #267B4A
square
#262D7B #7B2658 #7B7426 #267B4A
split-complementary
#262D7B #7B4A26 #587B26
monochromatic
#090B1D #181C4C #262D7B #343EAA #525CCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262D7B#FFFFFF#000000##FFFFFF
##262D7B1.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)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262d7b;
/* rgb */ color: rgb(38, 45, 123);
/* oklch */ color: oklch(34.3% 0.131 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c66a2',
    500: '#262d7b',
    950: '#000000',
  },
}
SCSS
$custom: #262d7b;
$custom-light: #6c66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262d7b",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 235.059,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.13093,
    "h": 273.4
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#262D7B
secondary
#ADA550
accent
#D04CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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