#262F89#262F89

#262F89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.148 H 272.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#262F89
RGBrgb(38, 47, 137)
HSLhsl(235, 57%, 34%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(72.3%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.48, 28.17, -51.26)
CIE-LCHlch(24.48, 58.49, 298.79°)
OKLaboklab(36.03% 0.0054 -0.148)
OKLCHoklch(36.03% 0.148 272.1)
XYZxyz(6.3297, 4.2506, 24.1489)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F89 #898026
analogous
#266189 #262F89 #4E2689
triadic
#262F89 #89262F #2F8926
tetradic
#262F89 #892661 #898026 #26894E
square
#262F89 #892661 #898026 #26894E
split-complementary
#262F89 #894E26 #618926
monochromatic
#0B0E29 #191F59 #262F89 #333FB9 #5964D1

Accessibility & contrast

On white

11.35
#262F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F89
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F89#FFFFFF#000000##FFFFFF
##262F891.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262f89;
/* rgb */ color: rgb(38, 47, 137);
/* oklch */ color: oklch(36.0% 0.148 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#262f89',
    950: '#000000',
  },
}
SCSS
$custom: #262f89;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262f89",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 234.545,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.14815,
    "h": 272.1
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#262F89
secondary
#B6AD55
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F89

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

Preview Lab → · Contrast checker → · Palette generator →

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