#262E95#262E95

#262E95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.166 H 271.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#262E95
RGBrgb(38, 46, 149)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(74.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.37, 33.25, -57.24)
CIE-LCHlch(25.37, 66.20, 300.15°)
OKLaboklab(37.02% 0.0051 -0.1656)
OKLCHoklch(37.02% 0.166 271.8)
XYZxyz(7.1993, 4.5352, 28.9239)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E95 #958D26
analogous
#266695 #262E95 #562695
triadic
#262E95 #95262E #2E9526
tetradic
#262E95 #952666 #958D26 #269556
square
#262E95 #952666 #958D26 #269556
split-complementary
#262E95 #955626 #669526
monochromatic
#0D1033 #1A1F64 #262E95 #323DC6 #5F68D6

Accessibility & contrast

On white

11.01
#262E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E95
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E95#FFFFFF#000000##FFFFFF
##262E951.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262e95;
/* rgb */ color: rgb(38, 46, 149);
/* oklch */ color: oklch(37.0% 0.166 271.8);
Tailwind
colors: {
  custom: {
    50: '#7267b5',
    500: '#262e95',
    950: '#000000',
  },
}
SCSS
$custom: #262e95;
$custom-light: #7267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262e95",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 235.676,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37022,
    "c": 0.16564,
    "h": 271.8
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#262E95
secondary
#BBB55B
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E95

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

Preview Lab → · Contrast checker → · Palette generator →

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