#262C94#262C94

#262C94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.167 H 272.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#262C94
RGBrgb(38, 44, 148)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(74.3%, 70.3%, 0%, 42%)
CIE-LABlab(24.80, 34.16, -57.56)
CIE-LCHlch(24.80, 66.94, 300.69°)
OKLaboklab(36.58% 0.0064 -0.1665)
OKLCHoklch(36.58% 0.167 272.2)
XYZxyz(7.0435, 4.3508, 28.4798)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C94 #948E26
analogous
#266394 #262C94 #572694
triadic
#262C94 #94262C #2C9426
tetradic
#262C94 #942663 #948E26 #269457
square
#262C94 #942663 #948E26 #269457
split-complementary
#262C94 #945726 #639426
monochromatic
#0D0F33 #191E63 #262C94 #333AC5 #5F65D6

Accessibility & contrast

On white

11.23
#262C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C94
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C94#FFFFFF#000000##FFFFFF
##262C941.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262c94;
/* rgb */ color: rgb(38, 44, 148);
/* oklch */ color: oklch(36.6% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#262c94',
    950: '#000000',
  },
}
SCSS
$custom: #262c94;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262c94",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 236.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.16661,
    "h": 272.2
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C94

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

Preview Lab → · Contrast checker → · Palette generator →

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