#262149#262149

#262149 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.072 H 286.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#262149
RGBrgb(38, 33, 73)
HSLhsl(248, 38%, 21%)
HSVhsv(248, 55%, 29%)
CMYKcmyk(47.9%, 54.8%, 0%, 71.4%)
CIE-LABlab(15.39, 14.31, -24.25)
CIE-LCHlch(15.39, 28.16, 300.54°)
OKLaboklab(27.63% 0.0203 -0.0688)
OKLCHoklch(27.63% 0.072 286.4)
XYZxyz(2.5454, 1.9807, 6.5502)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262149 #444921
analogous
#213049 #262149 #3A2149
triadic
#262149 #492621 #214926
tetradic
#262149 #492130 #444921 #21493A
square
#262149 #492130 #444921 #21493A
split-complementary
#262149 #493A21 #304921
monochromatic
#0B0A15 #100E1F #262149 #3C3473 #52479D

Accessibility & contrast

On white

15.04
#262149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#262149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262149
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262149#FFFFFF#000000##FFFFFF
##2621491.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284A
Deuteranopia (green-blind)
#102548
Tritanopia (blue-blind)
#1B2931
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #262149;
/* rgb */ color: rgb(38, 33, 73);
/* oklch */ color: oklch(27.6% 0.072 286.4);
Tailwind
colors: {
  custom: {
    50: '#635c7c',
    500: '#262149',
    950: '#000000',
  },
}
SCSS
$custom: #262149;
$custom-light: #635c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#262149",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 247.5,
    "s": 37.736,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27631,
    "c": 0.07173,
    "h": 286.4
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#262149
secondary
#767D49
accent
#CE5ABF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #262149

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

Preview Lab → · Contrast checker → · Palette generator →

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