#262E97#262E97

#262E97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.168 H 271.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#262E97
RGBrgb(38, 46, 151)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 59%)
CMYKcmyk(74.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.56, 33.97, -58.15)
CIE-LCHlch(25.56, 67.35, 300.29°)
OKLaboklab(37.22% 0.0049 -0.1682)
OKLCHoklch(37.22% 0.168 271.7)
XYZxyz(7.3603, 4.5997, 29.7721)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E97 #978F26
analogous
#266797 #262E97 #572697
triadic
#262E97 #97262E #2E9726
tetradic
#262E97 #972667 #978F26 #269757
square
#262E97 #972667 #978F26 #269757
split-complementary
#262E97 #975726 #679726
monochromatic
#0D1035 #1A1F66 #262E97 #323DC8 #6069D7

Accessibility & contrast

On white

10.94
#262E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E97
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E97#FFFFFF#000000##FFFFFF
##262E971.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262e97;
/* rgb */ color: rgb(38, 46, 151);
/* oklch */ color: oklch(37.2% 0.168 271.7);
Tailwind
colors: {
  custom: {
    50: '#7367b7',
    500: '#262e97',
    950: '#000000',
  },
}
SCSS
$custom: #262e97;
$custom-light: #7367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262e97",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 235.752,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.16828,
    "h": 271.7
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#262E97
secondary
#BCB65C
accent
#D845E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E97

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

Preview Lab → · Contrast checker → · Palette generator →

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