#262A45#262A45

#262A45 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.5% C 0.049 H 276.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#262A45
RGBrgb(38, 42, 69)
HSLhsl(232, 29%, 21%)
HSVhsv(232, 45%, 27%)
CMYKcmyk(44.9%, 39.1%, 0%, 72.9%)
CIE-LABlab(17.91, 6.43, -17.51)
CIE-LCHlch(17.91, 18.66, 290.16°)
OKLaboklab(29.47% 0.0056 -0.0491)
OKLCHoklch(29.47% 0.049 276.5)
XYZxyz(2.7012, 2.4976, 5.9688)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A45 #454126
analogous
#263945 #262A45 #312645
triadic
#262A45 #45262A #2A4526
tetradic
#262A45 #452639 #454126 #264531
square
#262A45 #452639 #454126 #264531
split-complementary
#262A45 #453126 #394526
monochromatic
#0B0C14 #10121E #262A45 #3C426C #515A94

Accessibility & contrast

On white

14.00
#262A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#262A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A45
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A45#FFFFFF#000000##FFFFFF
##262A451.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#1F2B44
Tritanopia (blue-blind)
#1C2F34
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262a45;
/* rgb */ color: rgb(38, 42, 69);
/* oklch */ color: oklch(29.5% 0.049 276.5);
Tailwind
colors: {
  custom: {
    50: '#626379',
    500: '#262a45',
    950: '#000000',
  },
}
SCSS
$custom: #262a45;
$custom-light: #626379;
$custom-dark: #000000;
JSON
{
  "hex": "#262a45",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 232.258,
    "s": 28.972,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29469,
    "c": 0.04941,
    "h": 276.5
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#262A45
secondary
#78724F
accent
#B963C5
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #262A45

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

Preview Lab → · Contrast checker → · Palette generator →

#262A45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva