#262D90#262D90

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

Color values

HEX#262D90
RGBrgb(38, 45, 144)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 74%, 56%)
CMYKcmyk(73.6%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.65, 32.07, -55.35)
CIE-LCHlch(24.65, 63.97, 300.09°)
OKLaboklab(36.35% 0.0062 -0.16)
OKLCHoklch(36.35% 0.16 272.2)
XYZxyz(6.7701, 4.3018, 26.8537)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D90 #908926
analogous
#266290 #262D90 #542690
triadic
#262D90 #90262D #2D9026
tetradic
#262D90 #902662 #908926 #269054
square
#262D90 #902662 #908926 #269054
split-complementary
#262D90 #905426 #629026
monochromatic
#0C0F2F #191E60 #262D90 #333CC0 #5C64D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262D90#FFFFFF#000000##FFFFFF
##262D901.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)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262d90;
/* rgb */ color: rgb(38, 45, 144);
/* oklch */ color: oklch(36.4% 0.160 272.2);
Tailwind
colors: {
  custom: {
    50: '#7166b1',
    500: '#262d90',
    950: '#000000',
  },
}
SCSS
$custom: #262d90;
$custom-light: #7166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262d90",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 236.038,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36351,
    "c": 0.16013,
    "h": 272.2
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#262D90
secondary
#B9B359
accent
#D746E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D90

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

Preview Lab → · Contrast checker → · Palette generator →

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