#262153#262153

#262153 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.088 H 283.8°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#262153
RGBrgb(38, 33, 83)
HSLhsl(246, 43%, 23%)
HSVhsv(246, 60%, 33%)
CMYKcmyk(54.2%, 60.2%, 0%, 67.5%)
CIE-LABlab(16.13, 17.84, -29.88)
CIE-LCHlch(16.13, 34.80, 300.84°)
OKLaboklab(28.42% 0.021 -0.0853)
OKLCHoklch(28.42% 0.088 283.8)
XYZxyz(2.9041, 2.1242, 8.4389)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262153 #4E5321
analogous
#213553 #262153 #3F2153
triadic
#262153 #532621 #215326
tetradic
#262153 #532135 #4E5321 #21533F
square
#262153 #532135 #4E5321 #21533F
split-complementary
#262153 #533F21 #355321
monochromatic
#0A0916 #121027 #262153 #3A327F #4E44AB

Accessibility & contrast

On white

14.74
#262153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#262153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262153
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262153#FFFFFF#000000##FFFFFF
##2621531.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A55
Deuteranopia (green-blind)
#022652
Tritanopia (blue-blind)
#152C36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262153;
/* rgb */ color: rgb(38, 33, 83);
/* oklch */ color: oklch(28.4% 0.088 283.8);
Tailwind
colors: {
  custom: {
    50: '#645c84',
    500: '#262153',
    950: '#000000',
  },
}
SCSS
$custom: #262153;
$custom-light: #645c84;
$custom-dark: #000000;
JSON
{
  "hex": "#262153",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 246,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28421,
    "c": 0.08789,
    "h": 283.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#262153
secondary
#818749
accent
#D355C6
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #262153

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

Preview Lab → · Contrast checker → · Palette generator →

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