#262B90#262B90

#262B90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.162 H 272.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#262B90
RGBrgb(38, 43, 144)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 74%, 56%)
CMYKcmyk(73.6%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.17, 33.35, -56.13)
CIE-LCHlch(24.17, 65.29, 300.72°)
OKLaboklab(36.01% 0.0075 -0.1623)
OKLCHoklch(36.01% 0.162 272.7)
XYZxyz(6.6956, 4.1528, 26.8288)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B90 #908B26
analogous
#266090 #262B90 #562690
triadic
#262B90 #90262B #2B9026
tetradic
#262B90 #902660 #908B26 #269056
square
#262B90 #902660 #908B26 #269056
split-complementary
#262B90 #905626 #609026
monochromatic
#0C0E2F #191D60 #262B90 #3339C0 #5C62D4

Accessibility & contrast

On white

11.47
#262B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B90
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B90#FFFFFF#000000##FFFFFF
##262B901.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b90;
/* rgb */ color: rgb(38, 43, 144);
/* oklch */ color: oklch(36.0% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#262b90',
    950: '#000000',
  },
}
SCSS
$custom: #262b90;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262b90",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 237.17,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.16246,
    "h": 272.7
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262B90

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

Preview Lab → · Contrast checker → · Palette generator →

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