#262945#262945

#262945 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.2% C 0.051 H 278.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#262945
RGBrgb(38, 41, 69)
HSLhsl(234, 29%, 21%)
HSVhsv(234, 45%, 27%)
CMYKcmyk(44.9%, 40.6%, 0%, 72.9%)
CIE-LABlab(17.59, 7.15, -18.02)
CIE-LCHlch(17.59, 19.38, 291.64°)
OKLaboklab(29.22% 0.0072 -0.0505)
OKLCHoklch(29.22% 0.051 278.1)
XYZxyz(2.6661, 2.4275, 5.9571)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262945 #454226
analogous
#263845 #262945 #322645
triadic
#262945 #452629 #294526
tetradic
#262945 #452638 #454226 #264532
square
#262945 #452638 #454226 #264532
split-complementary
#262945 #453226 #384526
monochromatic
#0B0C14 #10121E #262945 #3C406C #515894

Accessibility & contrast

On white

14.14
#262945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#262945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262945
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262945#FFFFFF#000000##FFFFFF
##2629451.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C46
Deuteranopia (green-blind)
#1E2A44
Tritanopia (blue-blind)
#1D2F33
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262945;
/* rgb */ color: rgb(38, 41, 69);
/* oklch */ color: oklch(29.2% 0.051 278.1);
Tailwind
colors: {
  custom: {
    50: '#626279',
    500: '#262945',
    950: '#000000',
  },
}
SCSS
$custom: #262945;
$custom-light: #626279;
$custom-dark: #000000;
JSON
{
  "hex": "#262945",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 234.194,
    "s": 28.972,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29222,
    "c": 0.05106,
    "h": 278.1
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#262945
secondary
#78744F
accent
#BC63C5
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #262945

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

Preview Lab → · Contrast checker → · Palette generator →

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