#262187#262187

#262187 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.162 H 275.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#262187
RGBrgb(38, 33, 135)
HSLhsl(243, 61%, 33%)
HSVhsv(243, 76%, 53%)
CMYKcmyk(71.9%, 75.6%, 0%, 47.1%)
CIE-LABlab(21.01, 36.34, -55.71)
CIE-LCHlch(21.01, 66.52, 303.12°)
OKLaboklab(33.47% 0.015 -0.1611)
OKLCHoklch(33.47% 0.162 275.3)
XYZxyz(5.7149, 3.2485, 23.2428)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262187 #828721
analogous
#214F87 #262187 #592187
triadic
#262187 #872621 #218726
tetradic
#262187 #87214F #828721 #218759
square
#262187 #87214F #828721 #218759
split-complementary
#262187 #875921 #4F8721
monochromatic
#0A0925 #181556 #262187 #342DB8 #554FD4

Accessibility & contrast

On white

12.73
#262187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262187
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262187#FFFFFF#000000##FFFFFF
##2621871.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262187;
/* rgb */ color: rgb(38, 33, 135);
/* oklch */ color: oklch(33.5% 0.162 275.3);
Tailwind
colors: {
  custom: {
    50: '#705eab',
    500: '#262187',
    950: '#000000',
  },
}
SCSS
$custom: #262187;
$custom-light: #705eab;
$custom-dark: #000000;
JSON
{
  "hex": "#262187",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 242.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.16177,
    "h": 275.3
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#262187
secondary
#B2B74D
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #262187

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

Preview Lab → · Contrast checker → · Palette generator →

#262187 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva