#262B8B#262B8B

#262B8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.156 H 273.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#262B8B
RGBrgb(38, 43, 139)
HSLhsl(237, 57%, 35%)
HSVhsv(237, 73%, 55%)
CMYKcmyk(72.7%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.68, 31.54, -53.82)
CIE-LCHlch(23.68, 62.38, 300.37°)
OKLaboklab(35.5% 0.0081 -0.1556)
OKLCHoklch(35.5% 0.156 273)
XYZxyz(6.3218, 4.0033, 24.8606)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8B #8B8626
analogous
#265D8B #262B8B #54268B
triadic
#262B8B #8B262B #2B8B26
tetradic
#262B8B #8B265D #8B8626 #268B54
square
#262B8B #8B265D #8B8626 #268B54
split-complementary
#262B8B #8B5426 #5D8B26
monochromatic
#0C0D2B #191C5B #262B8B #333ABB #5A60D2

Accessibility & contrast

On white

11.66
#262B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#262B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B8B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8B#FFFFFF#000000##FFFFFF
##262B8B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262b8b;
/* rgb */ color: rgb(38, 43, 139);
/* oklch */ color: oklch(35.5% 0.156 273.0);
Tailwind
colors: {
  custom: {
    50: '#7065ae',
    500: '#262b8b',
    950: '#000000',
  },
}
SCSS
$custom: #262b8b;
$custom-light: #7065ae;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8b",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 237.03,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.15577,
    "h": 273
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#262B8B
secondary
#B7B256
accent
#D947E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #262B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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