#262FA0#262FA0

#262FA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.179 H 271.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#262FA0
RGBrgb(38, 47, 160)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(76.3%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.68, 36.58, -61.80)
CIE-LCHlch(26.68, 71.82, 300.62°)
OKLaboklab(38.3% 0.0033 -0.1789)
OKLCHoklch(38.3% 0.179 271)
XYZxyz(8.1589, 4.9823, 33.7826)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FA0 #A09726
analogous
#266CA0 #262FA0 #5A26A0
triadic
#262FA0 #A0262F #2FA026
tetradic
#262FA0 #A0266C #A09726 #26A05A
square
#262FA0 #A0266C #A09726 #26A05A
split-complementary
#262FA0 #A05A26 #6CA026
monochromatic
#0F123D #1A206F #262FA0 #3440CF #666EDB

Accessibility & contrast

On white

10.52
#262FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#262FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FA0
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FA0#FFFFFF#000000##FFFFFF
##262FA01.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262fa0;
/* rgb */ color: rgb(38, 47, 160);
/* oklch */ color: oklch(38.3% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#7568bd',
    500: '#262fa0',
    950: '#000000',
  },
}
SCSS
$custom: #262fa0;
$custom-light: #7568bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262fa0",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 235.574,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.1789,
    "h": 271
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#262FA0
secondary
#C0B961
accent
#D943E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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