#262C93#262C93

#262C93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.165 H 272.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#262C93
RGBrgb(38, 44, 147)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(74.1%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.70, 33.80, -57.11)
CIE-LCHlch(24.70, 66.36, 300.62°)
OKLaboklab(36.48% 0.0065 -0.1652)
OKLCHoklch(36.48% 0.165 272.3)
XYZxyz(6.9647, 4.3193, 28.0648)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C93 #938D26
analogous
#266393 #262C93 #572693
triadic
#262C93 #93262C #2C9326
tetradic
#262C93 #932663 #938D26 #269357
square
#262C93 #932663 #938D26 #269357
split-complementary
#262C93 #935726 #639326
monochromatic
#0D0F32 #191D62 #262C93 #333BC4 #5E65D5

Accessibility & contrast

On white

11.27
#262C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C93
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C93#FFFFFF#000000##FFFFFF
##262C931.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c93;
/* rgb */ color: rgb(38, 44, 147);
/* oklch */ color: oklch(36.5% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#262c93',
    950: '#000000',
  },
}
SCSS
$custom: #262c93;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262c93",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 236.697,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36479,
    "c": 0.16529,
    "h": 272.3
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#262C93
secondary
#BAB55A
accent
#DA46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C93

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

Preview Lab → · Contrast checker → · Palette generator →

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