#262F96#262F96

#262F96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.166 H 271.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#262F96
RGBrgb(38, 47, 150)
HSLhsl(235, 60%, 37%)
HSVhsv(235, 75%, 59%)
CMYKcmyk(74.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.70, 32.97, -57.31)
CIE-LCHlch(25.70, 66.11, 299.91°)
OKLaboklab(37.29% 0.0044 -0.1657)
OKLCHoklch(37.29% 0.166 271.5)
XYZxyz(7.3190, 4.6464, 29.3594)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F96 #968D26
analogous
#266796 #262F96 #552696
triadic
#262F96 #96262F #2F9626
tetradic
#262F96 #962667 #968D26 #269655
square
#262F96 #962667 #968D26 #269655
split-complementary
#262F96 #965526 #679626
monochromatic
#0D1034 #1A2065 #262F96 #323EC7 #6069D7

Accessibility & contrast

On white

10.88
#262F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#262F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F96
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F96#FFFFFF#000000##FFFFFF
##262F961.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262f96;
/* rgb */ color: rgb(38, 47, 150);
/* oklch */ color: oklch(37.3% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#7268b6',
    500: '#262f96',
    950: '#000000',
  },
}
SCSS
$custom: #262f96;
$custom-light: #7268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262f96",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 235.179,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37294,
    "c": 0.1658,
    "h": 271.5
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#262F96
secondary
#BCB45C
accent
#D645E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F96

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

Preview Lab → · Contrast checker → · Palette generator →

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