#262B6A#262B6A

#262B6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.108 H 275.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#262B6A
RGBrgb(38, 43, 106)
HSLhsl(236, 47%, 28%)
HSVhsv(236, 64%, 42%)
CMYKcmyk(64.2%, 59.4%, 0%, 58.4%)
CIE-LABlab(20.75, 19.25, -37.63)
CIE-LCHlch(20.75, 42.27, 297.09°)
OKLaboklab(32.44% 0.0098 -0.1081)
OKLCHoklch(32.44% 0.109 275.2)
XYZxyz(4.2639, 3.1801, 14.0220)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B6A #6A6526
analogous
#264D6A #262B6A #43266A
triadic
#262B6A #6A262B #2B6A26
tetradic
#262B6A #6A264D #6A6526 #266A43
square
#262B6A #6A264D #6A6526 #266A43
split-complementary
#262B6A #6A4326 #4D6A26
monochromatic
#080917 #16193D #262B6A #363D97 #4C54BF

Accessibility & contrast

On white

12.84
#262B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#262B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B6A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B6A#FFFFFF#000000##FFFFFF
##262B6A1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262b6a;
/* rgb */ color: rgb(38, 43, 106);
/* oklch */ color: oklch(32.4% 0.108 275.2);
Tailwind
colors: {
  custom: {
    50: '#686495',
    500: '#262b6a',
    950: '#000000',
  },
}
SCSS
$custom: #262b6a;
$custom-light: #686495;
$custom-dark: #000000;
JSON
{
  "hex": "#262b6a",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 235.588,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.1085,
    "h": 275.2
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#262B6A
secondary
#9D974F
accent
#CD51D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #262B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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