#262E90#262E90

#262E90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.159 H 272.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#262E90
RGBrgb(38, 46, 144)
HSLhsl(235, 58%, 36%)
HSVhsv(235, 74%, 56%)
CMYKcmyk(73.6%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.89, 31.42, -54.95)
CIE-LCHlch(24.89, 63.30, 299.76°)
OKLaboklab(36.53% 0.0056 -0.1588)
OKLCHoklch(36.53% 0.159 272)
XYZxyz(6.8087, 4.3790, 26.8666)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E90 #908826
analogous
#266390 #262E90 #532690
triadic
#262E90 #90262E #2E9026
tetradic
#262E90 #902663 #908826 #269053
square
#262E90 #902663 #908826 #269053
split-complementary
#262E90 #905326 #639026
monochromatic
#0C0F2F #191F60 #262E90 #333DC0 #5C65D4

Accessibility & contrast

On white

11.19
#262E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E90
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E90#FFFFFF#000000##FFFFFF
##262E901.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262e90;
/* rgb */ color: rgb(38, 46, 144);
/* oklch */ color: oklch(36.5% 0.159 272.0);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#262e90',
    950: '#000000',
  },
}
SCSS
$custom: #262e90;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262e90",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 235.472,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36526,
    "c": 0.15895,
    "h": 272
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#262E90
secondary
#B9B259
accent
#D646E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E90

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

Preview Lab → · Contrast checker → · Palette generator →

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