#262DC7#262DC7

#262DC7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.228 H 269.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#262DC7
RGBrgb(38, 45, 199)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 78%)
CMYKcmyk(80.9%, 77.4%, 0%, 22%)
CIE-LABlab(30.43, 51.02, -78.87)
CIE-LCHlch(30.43, 93.93, 302.90°)
OKLaboklab(42.2% -0.0018 -0.2285)
OKLCHoklch(42.2% 0.228 269.5)
XYZxyz(12.0430, 6.4110, 54.6245)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262DC7 #C7C026
analogous
#267EC7 #262DC7 #7026C7
triadic
#262DC7 #C7262D #2DC726
tetradic
#262DC7 #C7267E #C7C026 #26C770
square
#262DC7 #C7267E #C7C026 #26C770
split-complementary
#262DC7 #C77026 #7EC726
monochromatic
#121660 #1C2194 #262DC7 #4D53DD #8185E7

Accessibility & contrast

On white

9.20
#262DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#262DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262DC7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262DC7#FFFFFF#000000##FFFFFF
##262DC71.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#003FC4
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #262dc7;
/* rgb */ color: rgb(38, 45, 199);
/* oklch */ color: oklch(42.2% 0.228 269.5);
Tailwind
colors: {
  custom: {
    50: '#7f69d9',
    500: '#262dc7',
    950: '#000000',
  },
}
SCSS
$custom: #262dc7;
$custom-light: #7f69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#262dc7",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 237.391,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.22848,
    "h": 269.5
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#262DC7
secondary
#CFCC79
accent
#E33DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #262DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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