#262D94#262D94

#262D94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.165 H 272.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#262D94
RGBrgb(38, 45, 148)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(74.3%, 69.6%, 0%, 42%)
CIE-LABlab(25.03, 33.52, -57.18)
CIE-LCHlch(25.03, 66.28, 300.38°)
OKLaboklab(36.75% 0.0058 -0.1654)
OKLCHoklch(36.75% 0.165 272)
XYZxyz(7.0812, 4.4262, 28.4924)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D94 #948D26
analogous
#266494 #262D94 #562694
triadic
#262D94 #94262D #2D9426
tetradic
#262D94 #942664 #948D26 #269456
square
#262D94 #942664 #948D26 #269456
split-complementary
#262D94 #945626 #649426
monochromatic
#0D0F33 #191E63 #262D94 #333CC5 #5F66D6

Accessibility & contrast

On white

11.14
#262D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D94
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D94#FFFFFF#000000##FFFFFF
##262D941.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262d94;
/* rgb */ color: rgb(38, 45, 148);
/* oklch */ color: oklch(36.8% 0.165 272.0);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#262d94',
    950: '#000000',
  },
}
SCSS
$custom: #262d94;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262d94",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 236.182,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.16546,
    "h": 272
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#262D94
secondary
#BBB55B
accent
#D845E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D94

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

Preview Lab → · Contrast checker → · Palette generator →

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