#262F97#262F97

#262F97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.167 H 271.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#262F97
RGBrgb(38, 47, 151)
HSLhsl(235, 60%, 37%)
HSVhsv(235, 75%, 59%)
CMYKcmyk(74.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(25.80, 33.33, -57.76)
CIE-LCHlch(25.80, 66.69, 299.99°)
OKLaboklab(37.39% 0.0043 -0.1671)
OKLCHoklch(37.39% 0.167 271.5)
XYZxyz(7.3999, 4.6787, 29.7852)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F97 #978E26
analogous
#266897 #262F97 #562697
triadic
#262F97 #97262F #2F9726
tetradic
#262F97 #972668 #978E26 #269756
square
#262F97 #972668 #978E26 #269756
split-complementary
#262F97 #975626 #689726
monochromatic
#0D1135 #1A2066 #262F97 #323EC8 #606AD7

Accessibility & contrast

On white

10.85
#262F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#262F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F97
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F97#FFFFFF#000000##FFFFFF
##262F971.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f97;
/* rgb */ color: rgb(38, 47, 151);
/* oklch */ color: oklch(37.4% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#7268b7',
    500: '#262f97',
    950: '#000000',
  },
}
SCSS
$custom: #262f97;
$custom-light: #7268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262f97",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 235.221,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.16712,
    "h": 271.5
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262F97

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

Preview Lab → · Contrast checker → · Palette generator →

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