#262183#262183

#262183 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.157 H 275.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#262183
RGBrgb(38, 33, 131)
HSLhsl(243, 60%, 32%)
HSVhsv(243, 75%, 51%)
CMYKcmyk(71%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.59, 34.96, -53.90)
CIE-LCHlch(20.59, 64.24, 302.97°)
OKLaboklab(33.04% 0.0158 -0.1558)
OKLCHoklch(33.04% 0.157 275.8)
XYZxyz(5.4386, 3.1380, 21.7874)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262183 #7E8321
analogous
#214D83 #262183 #572183
triadic
#262183 #832621 #218326
tetradic
#262183 #83214D #7E8321 #218357
square
#262183 #83214D #7E8321 #218357
split-complementary
#262183 #835721 #4D8321
monochromatic
#0A0821 #181552 #262183 #342DB4 #534CD2

Accessibility & contrast

On white

12.90
#262183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262183
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262183#FFFFFF#000000##FFFFFF
##2621831.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262183;
/* rgb */ color: rgb(38, 33, 131);
/* oklch */ color: oklch(33.0% 0.157 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ea8',
    500: '#262183',
    950: '#000000',
  },
}
SCSS
$custom: #262183;
$custom-light: #6f5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#262183",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 243.061,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.15657,
    "h": 275.8
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#262183
secondary
#B0B54B
accent
#E345DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #262183

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

Preview Lab → · Contrast checker → · Palette generator →

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