#262FC4#262FC4

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

Color values

HEX#262FC4
RGBrgb(38, 47, 196)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 77%)
CMYKcmyk(80.6%, 76%, 0%, 23.1%)
CIE-LABlab(30.47, 48.96, -77.04)
CIE-LCHlch(30.47, 91.28, 302.44°)
OKLaboklab(42.13% -0.0019 -0.2232)
OKLCHoklch(42.13% 0.223 269.5)
XYZxyz(11.7762, 6.4292, 52.8342)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FC4 #C4BB26
analogous
#267EC4 #262FC4 #6C26C4
triadic
#262FC4 #C4262F #2FC426
tetradic
#262FC4 #C4267E #C4BB26 #26C46C
square
#262FC4 #C4267E #C4BB26 #26C46C
split-complementary
#262FC4 #C46C26 #7EC426
monochromatic
#12165D #1C2391 #262FC4 #4B53DC #7E84E6

Accessibility & contrast

On white

9.19
#262FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#262FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FC4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FC4#FFFFFF#000000##FFFFFF
##262FC41.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #262fc4;
/* rgb */ color: rgb(38, 47, 196);
/* oklch */ color: oklch(42.1% 0.223 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e6ad7',
    500: '#262fc4',
    950: '#000000',
  },
}
SCSS
$custom: #262fc4;
$custom-light: #7e6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#262fc4",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 236.582,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.2232,
    "h": 269.5
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#262FC4
secondary
#CEC977
accent
#E13DEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #262FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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