#262D93#262D93

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

Color values

HEX#262D93
RGBrgb(38, 45, 147)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(74.1%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.94, 33.16, -56.72)
CIE-LCHlch(24.94, 65.70, 300.31°)
OKLaboklab(36.65% 0.0059 -0.164)
OKLCHoklch(36.65% 0.164 272.1)
XYZxyz(7.0024, 4.3947, 28.0773)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D93 #938C26
analogous
#266493 #262D93 #562693
triadic
#262D93 #93262D #2D9326
tetradic
#262D93 #932664 #938C26 #269356
square
#262D93 #932664 #938C26 #269356
split-complementary
#262D93 #935626 #649326
monochromatic
#0D0F32 #191E62 #262D93 #333CC4 #5E66D5

Accessibility & contrast

On white

11.18
#262D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D93
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D93#FFFFFF#000000##FFFFFF
##262D931.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262d93;
/* rgb */ color: rgb(38, 45, 147);
/* oklch */ color: oklch(36.6% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#262d93',
    950: '#000000',
  },
}
SCSS
$custom: #262d93;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262d93",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 236.147,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.16414,
    "h": 272.1
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#262D93
secondary
#BAB45A
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D93

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

Preview Lab → · Contrast checker → · Palette generator →

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