#262B96#262B96

#262B96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.170 H 272.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#262B96
RGBrgb(38, 43, 150)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(74.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.77, 35.50, -58.84)
CIE-LCHlch(24.77, 68.73, 301.11°)
OKLaboklab(36.62% 0.0067 -0.1702)
OKLCHoklch(36.62% 0.17 272.3)
XYZxyz(7.1664, 4.3411, 29.3085)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B96 #969126
analogous
#266396 #262B96 #592696
triadic
#262B96 #96262B #2B9626
tetradic
#262B96 #962663 #969126 #269659
square
#262B96 #962663 #969126 #269659
split-complementary
#262B96 #965926 #639626
monochromatic
#0D0F34 #1A1D65 #262B96 #3239C7 #6065D7

Accessibility & contrast

On white

11.24
#262B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B96
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B96#FFFFFF#000000##FFFFFF
##262B961.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262b96;
/* rgb */ color: rgb(38, 43, 150);
/* oklch */ color: oklch(36.6% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#7365b6',
    500: '#262b96',
    950: '#000000',
  },
}
SCSS
$custom: #262b96;
$custom-light: #7365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262b96",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 237.321,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36619,
    "c": 0.17036,
    "h": 272.3
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#262B96
secondary
#BCB85C
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B96

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

Preview Lab → · Contrast checker → · Palette generator →

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