#262992#262992

#262992 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.167 H 272.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#262992
RGBrgb(38, 41, 146)
HSLhsl(238, 59%, 36%)
HSVhsv(238, 74%, 57%)
CMYKcmyk(74%, 71.9%, 0%, 42.7%)
CIE-LABlab(23.91, 35.33, -57.79)
CIE-LCHlch(23.91, 67.73, 301.44°)
OKLaboklab(35.88% 0.0085 -0.1672)
OKLCHoklch(35.88% 0.167 272.9)
XYZxyz(6.7788, 4.0726, 27.6174)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262992 #928F26
analogous
#265F92 #262992 #592692
triadic
#262992 #922629 #299226
tetradic
#262992 #92265F #928F26 #269259
square
#262992 #92265F #928F26 #269259
split-complementary
#262992 #925926 #5F9226
monochromatic
#0D0E31 #191B61 #262992 #3337C3 #5D61D5

Accessibility & contrast

On white

11.57
#262992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262992
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262992#FFFFFF#000000##FFFFFF
##2629921.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262992;
/* rgb */ color: rgb(38, 41, 146);
/* oklch */ color: oklch(35.9% 0.167 272.9);
Tailwind
colors: {
  custom: {
    50: '#7263b3',
    500: '#262992',
    950: '#000000',
  },
}
SCSS
$custom: #262992;
$custom-light: #7263b3;
$custom-dark: #000000;
JSON
{
  "hex": "#262992",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 238.333,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.16737,
    "h": 272.9
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#262992
secondary
#BAB75A
accent
#DE46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262992

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

Preview Lab → · Contrast checker → · Palette generator →

#262992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva