#262A6B#262A6B

#262A6B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.111 H 275.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#262A6B
RGBrgb(38, 42, 107)
HSLhsl(237, 48%, 28%)
HSVhsv(237, 64%, 42%)
CMYKcmyk(64.5%, 60.7%, 0%, 58%)
CIE-LABlab(20.55, 20.33, -38.60)
CIE-LCHlch(20.55, 43.63, 297.77°)
OKLaboklab(32.32% 0.0108 -0.1109)
OKLCHoklch(32.32% 0.111 275.6)
XYZxyz(4.2803, 3.1292, 14.2855)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A6B #6B6726
analogous
#264C6B #262A6B #44266B
triadic
#262A6B #6B262A #2A6B26
tetradic
#262A6B #6B264C #6B6726 #266B44
square
#262A6B #6B264C #6B6726 #266B44
split-complementary
#262A6B #6B4426 #4C6B26
monochromatic
#080917 #16183E #262A6B #363C98 #4C53BF

Accessibility & contrast

On white

12.92
#262A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A6B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A6B#FFFFFF#000000##FFFFFF
##262A6B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262a6b;
/* rgb */ color: rgb(38, 42, 107);
/* oklch */ color: oklch(32.3% 0.111 275.6);
Tailwind
colors: {
  custom: {
    50: '#696396',
    500: '#262a6b',
    950: '#000000',
  },
}
SCSS
$custom: #262a6b;
$custom-light: #696396;
$custom-dark: #000000;
JSON
{
  "hex": "#262a6b",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 236.522,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.11145,
    "h": 275.6
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#262A6B
secondary
#9E994F
accent
#CF51D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #262A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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