#262EB1#262EB1

#262EB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.201 H 270.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#262EB1
RGBrgb(38, 46, 177)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(78.5%, 74%, 0%, 30.6%)
CIE-LABlab(28.22, 43.13, -69.51)
CIE-LCHlch(28.22, 81.81, 301.82°)
OKLaboklab(39.93% 0.0014 -0.2013)
OKLCHoklch(39.93% 0.201 270.4)
XYZxyz(9.7094, 5.5393, 42.1439)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262EB1 #B1A926
analogous
#2673B1 #262EB1 #6426B1
triadic
#262EB1 #B1262E #2EB126
tetradic
#262EB1 #B12673 #B1A926 #26B164
square
#262EB1 #B12673 #B1A926 #26B164
split-complementary
#262EB1 #B16426 #73B126
monochromatic
#10144C #1B217F #262EB1 #3F47D6 #7177E0

Accessibility & contrast

On white

9.96
#262EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#262EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262EB1
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262EB1#FFFFFF#000000##FFFFFF
##262EB11.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #262eb1;
/* rgb */ color: rgb(38, 46, 177);
/* oklch */ color: oklch(39.9% 0.201 270.4);
Tailwind
colors: {
  custom: {
    50: '#7968ca',
    500: '#262eb1',
    950: '#000000',
  },
}
SCSS
$custom: #262eb1;
$custom-light: #7968ca;
$custom-dark: #000000;
JSON
{
  "hex": "#262eb1",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 236.547,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39927,
    "c": 0.20132,
    "h": 270.4
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#262EB1
secondary
#C7C26B
accent
#DE40E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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