#262188#262188

#262188 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.163 H 275.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#262188
RGBrgb(38, 33, 136)
HSLhsl(243, 61%, 33%)
HSVhsv(243, 76%, 53%)
CMYKcmyk(72.1%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.12, 36.69, -56.16)
CIE-LCHlch(21.12, 67.08, 303.15°)
OKLaboklab(33.57% 0.0148 -0.1624)
OKLCHoklch(33.57% 0.163 275.2)
XYZxyz(5.7857, 3.2768, 23.6154)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262188 #838821
analogous
#214F88 #262188 #592188
triadic
#262188 #882621 #218826
tetradic
#262188 #88214F #838821 #218859
square
#262188 #88214F #838821 #218859
split-complementary
#262188 #885921 #4F8821
monochromatic
#0A0925 #181557 #262188 #342DB9 #564FD4

Accessibility & contrast

On white

12.69
#262188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262188
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262188#FFFFFF#000000##FFFFFF
##2621881.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262188;
/* rgb */ color: rgb(38, 33, 136);
/* oklch */ color: oklch(33.6% 0.163 275.2);
Tailwind
colors: {
  custom: {
    50: '#705eac',
    500: '#262188',
    950: '#000000',
  },
}
SCSS
$custom: #262188;
$custom-light: #705eac;
$custom-dark: #000000;
JSON
{
  "hex": "#262188",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 242.913,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.16305,
    "h": 275.2
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262188

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

Preview Lab → · Contrast checker → · Palette generator →

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