#262F92#262F92

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

Color values

HEX#262F92
RGBrgb(38, 47, 146)
HSLhsl(235, 59%, 36%)
HSVhsv(235, 74%, 57%)
CMYKcmyk(74%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.32, 31.50, -55.47)
CIE-LCHlch(25.32, 63.79, 299.59°)
OKLaboklab(36.9% 0.0047 -0.1604)
OKLCHoklch(36.9% 0.16 271.7)
XYZxyz(7.0024, 4.5197, 27.6919)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F92 #928926
analogous
#266592 #262F92 #532692
triadic
#262F92 #92262F #2F9226
tetradic
#262F92 #922665 #928926 #269253
square
#262F92 #922665 #928926 #269253
split-complementary
#262F92 #925326 #659226
monochromatic
#0D1031 #191F61 #262F92 #333FC3 #5D67D5

Accessibility & contrast

On white

11.03
#262F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F92
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F92#FFFFFF#000000##FFFFFF
##262F921.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262f92;
/* rgb */ color: rgb(38, 47, 146);
/* oklch */ color: oklch(36.9% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#7168b3',
    500: '#262f92',
    950: '#000000',
  },
}
SCSS
$custom: #262f92;
$custom-light: #7168b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262f92",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 235,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.369,
    "c": 0.16045,
    "h": 271.7
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#262F92
secondary
#BAB25A
accent
#D546E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F92

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

Preview Lab → · Contrast checker → · Palette generator →

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