#262B97#262B97

#262B97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.172 H 272.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#262B97
RGBrgb(38, 43, 151)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(74.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.87, 35.86, -59.29)
CIE-LCHlch(24.87, 69.29, 301.17°)
OKLaboklab(36.72% 0.0066 -0.1715)
OKLCHoklch(36.72% 0.172 272.2)
XYZxyz(7.2472, 4.3734, 29.7344)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B97 #979226
analogous
#266497 #262B97 #5A2697
triadic
#262B97 #97262B #2B9726
tetradic
#262B97 #972664 #979226 #26975A
square
#262B97 #972664 #979226 #26975A
split-complementary
#262B97 #975A26 #649726
monochromatic
#0D0F35 #1A1D66 #262B97 #3239C8 #6066D7

Accessibility & contrast

On white

11.20
#262B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B97
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B97#FFFFFF#000000##FFFFFF
##262B971.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262b97;
/* rgb */ color: rgb(38, 43, 151);
/* oklch */ color: oklch(36.7% 0.172 272.2);
Tailwind
colors: {
  custom: {
    50: '#7365b7',
    500: '#262b97',
    950: '#000000',
  },
}
SCSS
$custom: #262b97;
$custom-light: #7365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262b97",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 237.345,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36722,
    "c": 0.17167,
    "h": 272.2
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#262B97
secondary
#BCB85C
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262B97

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

Preview Lab → · Contrast checker → · Palette generator →

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