#262E88#262E88

#262E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.148 H 272.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#262E88
RGBrgb(38, 46, 136)
HSLhsl(235, 56%, 34%)
HSVhsv(235, 72%, 53%)
CMYKcmyk(72.1%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.14, 28.47, -51.20)
CIE-LCHlch(24.14, 58.58, 299.07°)
OKLaboklab(35.75% 0.0062 -0.1479)
OKLCHoklch(35.75% 0.148 272.4)
XYZxyz(6.2188, 4.1430, 23.7597)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E88 #888026
analogous
#265F88 #262E88 #4F2688
triadic
#262E88 #88262E #2E8826
tetradic
#262E88 #88265F #888026 #26884F
square
#262E88 #88265F #888026 #26884F
split-complementary
#262E88 #884F26 #5F8826
monochromatic
#0B0E28 #191E58 #262E88 #333EB8 #5862D0

Accessibility & contrast

On white

11.48
#262E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E88
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E88#FFFFFF#000000##FFFFFF
##262E881.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262e88;
/* rgb */ color: rgb(38, 46, 136);
/* oklch */ color: oklch(35.8% 0.148 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#262e88',
    950: '#000000',
  },
}
SCSS
$custom: #262e88;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262e88",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 235.102,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.14801,
    "h": 272.4
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#262E88
secondary
#B5AD55
accent
#D348E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262E88

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

Preview Lab → · Contrast checker → · Palette generator →

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