#262993#262993

#262993 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.169 H 272.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#262993
RGBrgb(38, 41, 147)
HSLhsl(238, 59%, 36%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(74.1%, 72.1%, 0%, 42.4%)
CIE-LABlab(24.01, 35.68, -58.24)
CIE-LCHlch(24.01, 68.30, 301.49°)
OKLaboklab(35.98% 0.0083 -0.1685)
OKLCHoklch(35.98% 0.169 272.8)
XYZxyz(6.8570, 4.1038, 28.0289)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262993 #939026
analogous
#266093 #262993 #5A2693
triadic
#262993 #932629 #299326
tetradic
#262993 #932660 #939026 #26935A
square
#262993 #932660 #939026 #26935A
split-complementary
#262993 #935A26 #609326
monochromatic
#0D0E32 #191B62 #262993 #3337C4 #5E61D5

Accessibility & contrast

On white

11.53
#262993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#262993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262993
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262993#FFFFFF#000000##FFFFFF
##2629931.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262993;
/* rgb */ color: rgb(38, 41, 147);
/* oklch */ color: oklch(36.0% 0.169 272.8);
Tailwind
colors: {
  custom: {
    50: '#7263b4',
    500: '#262993',
    950: '#000000',
  },
}
SCSS
$custom: #262993;
$custom-light: #7263b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262993",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 238.349,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35984,
    "c": 0.16867,
    "h": 272.8
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#262993
secondary
#BAB85A
accent
#DE46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262993

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

Preview Lab → · Contrast checker → · Palette generator →

#262993 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva