#262B7B#262B7B

#262B7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.134 H 274.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#262B7B
RGBrgb(38, 43, 123)
HSLhsl(236, 53%, 32%)
HSVhsv(236, 69%, 48%)
CMYKcmyk(69.1%, 65%, 0%, 51.8%)
CIE-LABlab(22.19, 25.64, -46.20)
CIE-LCHlch(22.19, 52.84, 299.03°)
OKLaboklab(33.96% 0.0095 -0.1332)
OKLCHoklch(33.96% 0.134 274.1)
XYZxyz(5.2372, 3.5694, 19.1480)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B7B #7B7626
analogous
#26567B #262B7B #4C267B
triadic
#262B7B #7B262B #2B7B26
tetradic
#262B7B #7B2656 #7B7626 #267B4C
square
#262B7B #7B2656 #7B7626 #267B4C
split-complementary
#262B7B #7B4C26 #567B26
monochromatic
#090A1D #181B4C #262B7B #343BAA #5259CA

Accessibility & contrast

On white

12.25
#262B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B7B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B7B#FFFFFF#000000##FFFFFF
##262B7B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262b7b;
/* rgb */ color: rgb(38, 43, 123);
/* oklch */ color: oklch(34.0% 0.134 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c64a2',
    500: '#262b7b',
    950: '#000000',
  },
}
SCSS
$custom: #262b7b;
$custom-light: #6c64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262b7b",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 236.471,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.13356,
    "h": 274.1
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#262B7B
secondary
#ADA850
accent
#D44CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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