#262CC7#262CC7

#262CC7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.229 H 269.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#262CC7
RGBrgb(38, 44, 199)
HSLhsl(238, 68%, 46%)
HSVhsv(238, 81%, 78%)
CMYKcmyk(80.9%, 77.9%, 0%, 22%)
CIE-LABlab(30.24, 51.54, -79.18)
CIE-LCHlch(30.24, 94.47, 303.06°)
OKLaboklab(42.07% -0.0016 -0.2293)
OKLCHoklch(42.07% 0.229 269.6)
XYZxyz(12.0053, 6.3355, 54.6119)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CC7 #C7C126
analogous
#267DC7 #262CC7 #7126C7
triadic
#262CC7 #C7262C #2CC726
tetradic
#262CC7 #C7267D #C7C126 #26C771
square
#262CC7 #C7267D #C7C126 #26C771
split-complementary
#262CC7 #C77126 #7DC726
monochromatic
#121560 #1C2194 #262CC7 #4D53DD #8184E7

Accessibility & contrast

On white

9.26
#262CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#262CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CC7
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CC7#FFFFFF#000000##FFFFFF
##262CC71.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#003FC4
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #262cc7;
/* rgb */ color: rgb(38, 44, 199);
/* oklch */ color: oklch(42.1% 0.229 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f68d9',
    500: '#262cc7',
    950: '#000000',
  },
}
SCSS
$custom: #262cc7;
$custom-light: #7f68d9;
$custom-dark: #000000;
JSON
{
  "hex": "#262cc7",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 237.764,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.22935,
    "h": 269.6
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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