#262A89#262A89

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

Color values

HEX#262A89
RGBrgb(38, 42, 137)
HSLhsl(238, 57%, 34%)
HSVhsv(238, 72%, 54%)
CMYKcmyk(72.3%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.25, 31.46, -53.29)
CIE-LCHlch(23.25, 61.88, 300.56°)
OKLaboklab(35.13% 0.009 -0.154)
OKLCHoklch(35.13% 0.154 273.3)
XYZxyz(6.1411, 3.8735, 24.0861)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A89 #898526
analogous
#265C89 #262A89 #542689
triadic
#262A89 #89262A #2A8926
tetradic
#262A89 #89265C #898526 #268954
square
#262A89 #89265C #898526 #268954
split-complementary
#262A89 #895426 #5C8926
monochromatic
#0B0D29 #191B59 #262A89 #3339B9 #595DD1

Accessibility & contrast

On white

11.83
#262A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A89
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A89#FFFFFF#000000##FFFFFF
##262A891.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262a89;
/* rgb */ color: rgb(38, 42, 137);
/* oklch */ color: oklch(35.1% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#262a89',
    950: '#000000',
  },
}
SCSS
$custom: #262a89;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262a89",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 237.576,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35132,
    "c": 0.15426,
    "h": 273.3
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#262A89
secondary
#B6B255
accent
#DA48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262A89

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

Preview Lab → · Contrast checker → · Palette generator →

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