#2A263F#2A263F

#2A263F is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.5% C 0.045 H 290.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#2A263F
RGBrgb(42, 38, 63)
HSLhsl(250, 25%, 20%)
HSVhsv(250, 40%, 25%)
CMYKcmyk(33.3%, 39.7%, 0%, 75.3%)
CIE-LABlab(16.69, 8.69, -15.26)
CIE-LCHlch(16.69, 17.56, 299.67°)
OKLaboklab(28.52% 0.0159 -0.0425)
OKLCHoklch(28.52% 0.045 290.6)
XYZxyz(2.5449, 2.2373, 4.9994)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A263F #3B3F26
analogous
#262F3F #2A263F #37263F
triadic
#2A263F #3F2A26 #263F2A
tetradic
#2A263F #3F262F #3B3F26 #263F37
square
#2A263F #3F262F #3B3F26 #263F37
split-complementary
#2A263F #3F3726 #2F3F26
monochromatic
#0D0C13 #110F19 #2A263F #433D65 #5D548B

Accessibility & contrast

On white

14.51
#2A263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A263F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A263F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A263F#FFFFFF#000000##FFFFFF
##2A263F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1F293E
Tritanopia (blue-blind)
#252A2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a263f;
/* rgb */ color: rgb(42, 38, 63);
/* oklch */ color: oklch(28.5% 0.045 290.6);
Tailwind
colors: {
  custom: {
    50: '#646074',
    500: '#2a263f',
    950: '#000000',
  },
}
SCSS
$custom: #2a263f;
$custom-light: #646074;
$custom-dark: #000000;
JSON
{
  "hex": "#2a263f",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 249.6,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28515,
    "c": 0.04538,
    "h": 290.6
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#2A263F
secondary
#6C7150
accent
#C167B3
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050408
muted
#7A797B

Preview Lab

Preview with #2A263F

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

Preview Lab → · Contrast checker → · Palette generator →

#2A263F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva