#262189#262189

#262189 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.164 H 275.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#262189
RGBrgb(38, 33, 137)
HSLhsl(243, 61%, 33%)
HSVhsv(243, 76%, 54%)
CMYKcmyk(72.3%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.23, 37.03, -56.61)
CIE-LCHlch(21.23, 67.65, 303.19°)
OKLaboklab(33.68% 0.0146 -0.1637)
OKLCHoklch(33.68% 0.164 275.1)
XYZxyz(5.8571, 3.3054, 23.9914)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262189 #848921
analogous
#215089 #262189 #5A2189
triadic
#262189 #892621 #218926
tetradic
#262189 #892150 #848921 #21895A
square
#262189 #892150 #848921 #21895A
split-complementary
#262189 #895A21 #508921
monochromatic
#0B0926 #181558 #262189 #342DBA #5650D5

Accessibility & contrast

On white

12.64
#262189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#262189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262189
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262189#FFFFFF#000000##FFFFFF
##2621891.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262189;
/* rgb */ color: rgb(38, 33, 137);
/* oklch */ color: oklch(33.7% 0.164 275.1);
Tailwind
colors: {
  custom: {
    50: '#705ead',
    500: '#262189',
    950: '#000000',
  },
}
SCSS
$custom: #262189;
$custom-light: #705ead;
$custom-dark: #000000;
JSON
{
  "hex": "#262189",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 242.885,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33682,
    "c": 0.16434,
    "h": 275.1
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#262189
secondary
#B3B84E
accent
#E444DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #262189

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

Preview Lab → · Contrast checker → · Palette generator →

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