#262A48#262A48

#262A48 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.7% C 0.055 H 276.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#262A48
RGBrgb(38, 42, 72)
HSLhsl(233, 31%, 22%)
HSVhsv(233, 47%, 28%)
CMYKcmyk(47.2%, 41.7%, 0%, 71.8%)
CIE-LABlab(18.08, 7.47, -19.29)
CIE-LCHlch(18.08, 20.69, 291.15°)
OKLaboklab(29.66% 0.0064 -0.0543)
OKLCHoklch(29.66% 0.055 276.8)
XYZxyz(2.7966, 2.5357, 6.4717)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A48 #484426
analogous
#263B48 #262A48 #332648
triadic
#262A48 #48262A #2A4826
tetradic
#262A48 #48263B #484426 #264833
square
#262A48 #48263B #484426 #264833
split-complementary
#262A48 #483326 #3B4826
monochromatic
#0B0C14 #111320 #262A48 #3B4170 #505998

Accessibility & contrast

On white

13.93
#262A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#262A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A48
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A48#FFFFFF#000000##FFFFFF
##262A481.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E49
Deuteranopia (green-blind)
#1D2B47
Tritanopia (blue-blind)
#1B3035
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262a48;
/* rgb */ color: rgb(38, 42, 72);
/* oklch */ color: oklch(29.7% 0.055 276.8);
Tailwind
colors: {
  custom: {
    50: '#62637b',
    500: '#262a48',
    950: '#000000',
  },
}
SCSS
$custom: #262a48;
$custom-light: #62637b;
$custom-dark: #000000;
JSON
{
  "hex": "#262a48",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 232.941,
    "s": 30.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29657,
    "c": 0.05464,
    "h": 276.8
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#262A48
secondary
#7B764F
accent
#BB61C7
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #262A48

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

Preview Lab → · Contrast checker → · Palette generator →

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