#262A90#262A90

#262A90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.164 H 272.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#262A90
RGBrgb(38, 42, 144)
HSLhsl(238, 58%, 36%)
HSVhsv(238, 74%, 56%)
CMYKcmyk(73.6%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.94, 33.99, -56.51)
CIE-LCHlch(23.94, 65.94, 301.02°)
OKLaboklab(35.84% 0.0081 -0.1634)
OKLCHoklch(35.84% 0.164 272.9)
XYZxyz(6.6596, 4.0809, 26.8169)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A90 #908C26
analogous
#265F90 #262A90 #572690
triadic
#262A90 #90262A #2A9026
tetradic
#262A90 #90265F #908C26 #269057
square
#262A90 #90265F #908C26 #269057
split-complementary
#262A90 #905726 #5F9026
monochromatic
#0C0E2F #191C60 #262A90 #3338C0 #5C61D4

Accessibility & contrast

On white

11.56
#262A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A90
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A90#FFFFFF#000000##FFFFFF
##262A901.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262a90;
/* rgb */ color: rgb(38, 42, 144);
/* oklch */ color: oklch(35.8% 0.164 272.9);
Tailwind
colors: {
  custom: {
    50: '#7164b2',
    500: '#262a90',
    950: '#000000',
  },
}
SCSS
$custom: #262a90;
$custom-light: #7164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262a90",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 237.736,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.16361,
    "h": 272.9
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#262A90
secondary
#B9B559
accent
#DC46E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A90

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

Preview Lab → · Contrast checker → · Palette generator →

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