#262FC7#262FC7

#262FC7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.227 H 269.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#262FC7
RGBrgb(38, 47, 199)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 78%)
CMYKcmyk(80.9%, 76.4%, 0%, 22%)
CIE-LABlab(30.80, 49.95, -78.25)
CIE-LCHlch(30.80, 92.83, 302.55°)
OKLaboklab(42.46% -0.0024 -0.2267)
OKLCHoklch(42.46% 0.227 269.4)
XYZxyz(12.1211, 6.5672, 54.6505)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FC7 #C7BE26
analogous
#2680C7 #262FC7 #6E26C7
triadic
#262FC7 #C7262F #2FC726
tetradic
#262FC7 #C72680 #C7BE26 #26C76E
square
#262FC7 #C72680 #C7BE26 #26C76E
split-complementary
#262FC7 #C76E26 #80C726
monochromatic
#121760 #1C2394 #262FC7 #4D55DD #8186E7

Accessibility & contrast

On white

9.08
#262FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#262FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FC7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FC7#FFFFFF#000000##FFFFFF
##262FC71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0040C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #262fc7;
/* rgb */ color: rgb(38, 47, 199);
/* oklch */ color: oklch(42.5% 0.227 269.4);
Tailwind
colors: {
  custom: {
    50: '#7f6ad9',
    500: '#262fc7',
    950: '#000000',
  },
}
SCSS
$custom: #262fc7;
$custom-light: #7f6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#262fc7",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 236.646,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.22671,
    "h": 269.4
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#262FC7
secondary
#CFCB79
accent
#E13DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #262FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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