#262A97#262A97

#262A97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.173 H 272.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#262A97
RGBrgb(38, 42, 151)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(74.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.64, 36.48, -59.66)
CIE-LCHlch(24.64, 69.93, 301.44°)
OKLaboklab(36.56% 0.0072 -0.1726)
OKLCHoklch(36.56% 0.173 272.4)
XYZxyz(7.2113, 4.3016, 29.7224)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A97 #979326
analogous
#266397 #262A97 #5B2697
triadic
#262A97 #97262A #2A9726
tetradic
#262A97 #972663 #979326 #26975B
square
#262A97 #972663 #979326 #26975B
split-complementary
#262A97 #975B26 #639726
monochromatic
#0D0F35 #1A1C66 #262A97 #3238C8 #6065D7

Accessibility & contrast

On white

11.29
#262A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A97
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A97#FFFFFF#000000##FFFFFF
##262A971.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262a97;
/* rgb */ color: rgb(38, 42, 151);
/* oklch */ color: oklch(36.6% 0.173 272.4);
Tailwind
colors: {
  custom: {
    50: '#7364b7',
    500: '#262a97',
    950: '#000000',
  },
}
SCSS
$custom: #262a97;
$custom-light: #7364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262a97",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 237.876,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.17277,
    "h": 272.4
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#262A97
secondary
#BCB95C
accent
#DD45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A97

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

Preview Lab → · Contrast checker → · Palette generator →

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