#262249#262249

#262249 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.070 H 285.6°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#262249
RGBrgb(38, 34, 73)
HSLhsl(246, 36%, 21%)
HSVhsv(246, 53%, 29%)
CMYKcmyk(47.9%, 53.4%, 0%, 71.4%)
CIE-LABlab(15.68, 13.59, -23.78)
CIE-LCHlch(15.68, 27.39, 299.74°)
OKLaboklab(27.85% 0.0188 -0.0674)
OKLCHoklch(27.85% 0.07 285.6)
XYZxyz(2.5736, 2.0371, 6.5596)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262249 #454922
analogous
#223149 #262249 #392249
triadic
#262249 #492622 #224926
tetradic
#262249 #492231 #454922 #224939
square
#262249 #492231 #454922 #224939
split-complementary
#262249 #493922 #314922
monochromatic
#0B0A15 #100F1F #262249 #3C3573 #51499D

Accessibility & contrast

On white

14.92
#262249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#262249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262249
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262249#FFFFFF#000000##FFFFFF
##2622491.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12284A
Deuteranopia (green-blind)
#112648
Tritanopia (blue-blind)
#1B2A32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #262249;
/* rgb */ color: rgb(38, 34, 73);
/* oklch */ color: oklch(27.9% 0.070 285.6);
Tailwind
colors: {
  custom: {
    50: '#635d7c',
    500: '#262249',
    950: '#000000',
  },
}
SCSS
$custom: #262249;
$custom-light: #635d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#262249",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 246.154,
    "s": 36.449,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.06998,
    "h": 285.6
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#262249
secondary
#787D4A
accent
#CC5BC1
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #262249

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

Preview Lab → · Contrast checker → · Palette generator →

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