#262CBD#262CBD

#262CBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.218 H 270.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#262CBD
RGBrgb(38, 44, 189)
HSLhsl(238, 67%, 45%)
HSVhsv(238, 80%, 74%)
CMYKcmyk(79.9%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.12, 48.29, -75.15)
CIE-LCHlch(29.12, 89.33, 302.72°)
OKLaboklab(40.95% 0.0001 -0.2177)
OKLCHoklch(40.95% 0.218 270)
XYZxyz(10.8822, 5.8863, 48.6969)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262CBD #BDB726
analogous
#2678BD #262CBD #6C26BD
triadic
#262CBD #BD262C #2CBD26
tetradic
#262CBD #BD2678 #BDB726 #26BD6C
square
#262CBD #BD2678 #BDB726 #26BD6C
split-complementary
#262CBD #BD6C26 #78BD26
monochromatic
#121457 #1C208A #262CBD #464CDA #797EE4

Accessibility & contrast

On white

9.64
#262CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#262CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262CBD
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262CBD#FFFFFF#000000##FFFFFF
##262CBD1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #262cbd;
/* rgb */ color: rgb(38, 44, 189);
/* oklch */ color: oklch(41.0% 0.218 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c67d2',
    500: '#262cbd',
    950: '#000000',
  },
}
SCSS
$custom: #262cbd;
$custom-light: #7c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#262cbd",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 237.616,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.21766,
    "h": 270
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#262CBD
secondary
#CCC873
accent
#E33EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #262CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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