#262F91#262F91

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

Color values

HEX#262F91
RGBrgb(38, 47, 145)
HSLhsl(235, 58%, 36%)
HSVhsv(235, 74%, 57%)
CMYKcmyk(73.8%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.23, 31.14, -55.01)
CIE-LCHlch(25.23, 63.21, 299.51°)
OKLaboklab(36.8% 0.0048 -0.159)
OKLCHoklch(36.8% 0.159 271.7)
XYZxyz(6.9250, 4.4887, 27.2840)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F91 #918826
analogous
#266491 #262F91 #522691
triadic
#262F91 #91262F #2F9126
tetradic
#262F91 #912664 #918826 #269152
square
#262F91 #912664 #918826 #269152
split-complementary
#262F91 #915226 #649126
monochromatic
#0D1030 #191F61 #262F91 #333FC1 #5D67D5

Accessibility & contrast

On white

11.07
#262F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F91
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F91#FFFFFF#000000##FFFFFF
##262F911.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262f91;
/* rgb */ color: rgb(38, 47, 145);
/* oklch */ color: oklch(36.8% 0.159 271.7);
Tailwind
colors: {
  custom: {
    50: '#7167b2',
    500: '#262f91',
    950: '#000000',
  },
}
SCSS
$custom: #262f91;
$custom-light: #7167b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262f91",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 234.953,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36802,
    "c": 0.15909,
    "h": 271.7
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262F91

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

Preview Lab → · Contrast checker → · Palette generator →

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