#262E94#262E94

#262E94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.164 H 271.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#262E94
RGBrgb(38, 46, 148)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(74.3%, 68.9%, 0%, 42%)
CIE-LABlab(25.27, 32.88, -56.79)
CIE-LCHlch(25.27, 65.62, 300.07°)
OKLaboklab(36.92% 0.0052 -0.1642)
OKLCHoklch(36.92% 0.164 271.8)
XYZxyz(7.1198, 4.5034, 28.5053)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E94 #948C26
analogous
#266594 #262E94 #552694
triadic
#262E94 #94262E #2E9426
tetradic
#262E94 #942665 #948C26 #269455
square
#262E94 #942665 #948C26 #269455
split-complementary
#262E94 #945526 #659426
monochromatic
#0D1033 #191F63 #262E94 #333DC5 #5F67D6

Accessibility & contrast

On white

11.05
#262E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#262E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E94
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E94#FFFFFF#000000##FFFFFF
##262E941.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262e94;
/* rgb */ color: rgb(38, 46, 148);
/* oklch */ color: oklch(36.9% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#7267b4',
    500: '#262e94',
    950: '#000000',
  },
}
SCSS
$custom: #262e94;
$custom-light: #7267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262e94",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 235.636,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36922,
    "c": 0.1643,
    "h": 271.8
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#262E94
secondary
#BBB45B
accent
#D745E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E94

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

Preview Lab → · Contrast checker → · Palette generator →

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