#262A4E#262A4E

#262A4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.065 H 277.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#262A4E
RGBrgb(38, 42, 78)
HSLhsl(234, 34%, 23%)
HSVhsv(234, 51%, 31%)
CMYKcmyk(51.3%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.44, 9.59, -22.79)
CIE-LCHlch(18.44, 24.73, 292.81°)
OKLaboklab(30.06% 0.0079 -0.0645)
OKLCHoklch(30.06% 0.065 277)
XYZxyz(3.0020, 2.6179, 7.5534)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A4E #4E4A26
analogous
#263E4E #262A4E #36264E
triadic
#262A4E #4E262A #2A4E26
tetradic
#262A4E #4E263E #4E4A26 #264E36
square
#262A4E #4E263E #4E4A26 #264E36
split-complementary
#262A4E #4E3626 #3E4E26
monochromatic
#0A0B15 #121425 #262A4E #3A4077 #4E56A0

Accessibility & contrast

On white

13.78
#262A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#262A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A4E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A4E#FFFFFF#000000##FFFFFF
##262A4E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#192B4D
Tritanopia (blue-blind)
#183138
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262a4e;
/* rgb */ color: rgb(38, 42, 78);
/* oklch */ color: oklch(30.1% 0.065 277.0);
Tailwind
colors: {
  custom: {
    50: '#636380',
    500: '#262a4e',
    950: '#000000',
  },
}
SCSS
$custom: #262a4e;
$custom-light: #636380;
$custom-dark: #000000;
JSON
{
  "hex": "#262a4e",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 234,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30055,
    "c": 0.06495,
    "h": 277
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#262A4E
secondary
#817C4F
accent
#C05DCB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #262A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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