#262C95#262C95

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

Color values

HEX#262C95
RGBrgb(38, 44, 149)
HSLhsl(237, 59%, 37%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(74.5%, 70.5%, 0%, 41.6%)
CIE-LABlab(24.90, 34.52, -58.02)
CIE-LCHlch(24.90, 67.51, 300.75°)
OKLaboklab(36.68% 0.0063 -0.1678)
OKLCHoklch(36.68% 0.168 272.1)
XYZxyz(7.1230, 4.3826, 28.8985)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C95 #958F26
analogous
#266495 #262C95 #582695
triadic
#262C95 #95262C #2C9526
tetradic
#262C95 #952664 #958F26 #269558
square
#262C95 #952664 #958F26 #269558
split-complementary
#262C95 #955826 #649526
monochromatic
#0D0F33 #1A1E64 #262C95 #323AC6 #5F66D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262C95#FFFFFF#000000##FFFFFF
##262C951.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)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262c95;
/* rgb */ color: rgb(38, 44, 149);
/* oklch */ color: oklch(36.7% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#7266b5',
    500: '#262c95',
    950: '#000000',
  },
}
SCSS
$custom: #262c95;
$custom-light: #7266b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262c95",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 236.757,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.16793,
    "h": 272.1
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#262C95
secondary
#BBB65B
accent
#DA45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C95

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

Preview Lab → · Contrast checker → · Palette generator →

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