#262C4E#262C4E

#262C4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.062 H 274.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#262C4E
RGBrgb(38, 44, 78)
HSLhsl(231, 34%, 23%)
HSVhsv(231, 51%, 31%)
CMYKcmyk(51.3%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.07, 8.15, -21.80)
CIE-LCHlch(19.07, 23.28, 290.50°)
OKLaboklab(30.54% 0.0049 -0.0616)
OKLCHoklch(30.54% 0.062 274.6)
XYZxyz(3.0747, 2.7633, 7.5776)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C4E #4E4826
analogous
#26404E #262C4E #34264E
triadic
#262C4E #4E262C #2C4E26
tetradic
#262C4E #4E2640 #4E4826 #264E34
square
#262C4E #4E2640 #4E4826 #264E34
split-complementary
#262C4E #4E3426 #404E26
monochromatic
#0A0C15 #121525 #262C4E #3A4377 #4E5AA0

Accessibility & contrast

On white

13.53
#262C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#262C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C4E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C4E#FFFFFF#000000##FFFFFF
##262C4E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#173339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262c4e;
/* rgb */ color: rgb(38, 44, 78);
/* oklch */ color: oklch(30.5% 0.062 274.6);
Tailwind
colors: {
  custom: {
    50: '#636480',
    500: '#262c4e',
    950: '#000000',
  },
}
SCSS
$custom: #262c4e;
$custom-light: #636480;
$custom-dark: #000000;
JSON
{
  "hex": "#262c4e",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 231,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.06176,
    "h": 274.6
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#262C4E
secondary
#81794F
accent
#BA5DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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