#262ABD#262ABD

#262ABD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.219 H 270.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#262ABD
RGBrgb(38, 42, 189)
HSLhsl(238, 67%, 45%)
HSVhsv(238, 80%, 74%)
CMYKcmyk(79.9%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.75, 49.36, -75.77)
CIE-LCHlch(28.75, 90.43, 303.08°)
OKLaboklab(40.69% 0.0008 -0.2194)
OKLCHoklch(40.69% 0.219 270.2)
XYZxyz(10.8095, 5.7409, 48.6726)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262ABD #BDB926
analogous
#2675BD #262ABD #6E26BD
triadic
#262ABD #BD262A #2ABD26
tetradic
#262ABD #BD2675 #BDB926 #26BD6E
square
#262ABD #BD2675 #BDB926 #26BD6E
split-complementary
#262ABD #BD6E26 #75BD26
monochromatic
#121357 #1C1F8A #262ABD #464ADA #797CE4

Accessibility & contrast

On white

9.77
#262ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#262ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262ABD
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262ABD#FFFFFF#000000##FFFFFF
##262ABD1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #262abd;
/* rgb */ color: rgb(38, 42, 189);
/* oklch */ color: oklch(40.7% 0.219 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c66d2',
    500: '#262abd',
    950: '#000000',
  },
}
SCSS
$custom: #262abd;
$custom-light: #7c66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#262abd",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 238.411,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.21944,
    "h": 270.2
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#262ABD
secondary
#CCCA73
accent
#E53EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #262ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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