#262B87#262B87

#262B87 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.150 H 273.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#262B87
RGBrgb(38, 43, 135)
HSLhsl(237, 56%, 34%)
HSVhsv(237, 72%, 53%)
CMYKcmyk(71.9%, 68.1%, 0%, 47.1%)
CIE-LABlab(23.30, 30.08, -51.95)
CIE-LCHlch(23.30, 60.03, 300.07°)
OKLaboklab(35.11% 0.0085 -0.1501)
OKLCHoklch(35.11% 0.15 273.2)
XYZxyz(6.0349, 3.8885, 23.3495)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B87 #878226
analogous
#265C87 #262B87 #522687
triadic
#262B87 #87262B #2B8726
tetradic
#262B87 #87265C #878226 #268752
square
#262B87 #87265C #878226 #268752
split-complementary
#262B87 #875226 #5C8726
monochromatic
#0B0D27 #191C57 #262B87 #333AB7 #585ED0

Accessibility & contrast

On white

11.81
#262B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B87
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B87#FFFFFF#000000##FFFFFF
##262B871.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262b87;
/* rgb */ color: rgb(38, 43, 135);
/* oklch */ color: oklch(35.1% 0.150 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f64ab',
    500: '#262b87',
    950: '#000000',
  },
}
SCSS
$custom: #262b87;
$custom-light: #6f64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#262b87",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 236.907,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3511,
    "c": 0.15033,
    "h": 273.2
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#262B87
secondary
#B5B054
accent
#D848DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B87

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

Preview Lab → · Contrast checker → · Palette generator →

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