#262A54#262A54

#262A54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.075 H 276.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#262A54
RGBrgb(38, 42, 84)
HSLhsl(235, 38%, 24%)
HSVhsv(235, 55%, 33%)
CMYKcmyk(54.8%, 50%, 0%, 67.1%)
CIE-LABlab(18.83, 11.76, -26.21)
CIE-LCHlch(18.83, 28.73, 294.16°)
OKLaboklab(30.48% 0.009 -0.0745)
OKLCHoklch(30.48% 0.075 276.9)
XYZxyz(3.2270, 2.7079, 8.7384)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A54 #545026
analogous
#264154 #262A54 #392654
triadic
#262A54 #54262A #2A5426
tetradic
#262A54 #542641 #545026 #265439
square
#262A54 #542641 #545026 #265439
split-complementary
#262A54 #543926 #415426
monochromatic
#0A0B15 #13152A #262A54 #393F7E #4C54A8

Accessibility & contrast

On white

13.62
#262A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#262A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A54
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A54#FFFFFF#000000##FFFFFF
##262A541.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#142C53
Tritanopia (blue-blind)
#13333B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262a54;
/* rgb */ color: rgb(38, 42, 84);
/* oklch */ color: oklch(30.5% 0.075 276.9);
Tailwind
colors: {
  custom: {
    50: '#646384',
    500: '#262a54',
    950: '#000000',
  },
}
SCSS
$custom: #262a54;
$custom-light: #646384;
$custom-dark: #000000;
JSON
{
  "hex": "#262a54",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 234.783,
    "s": 37.705,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.07502,
    "h": 276.9
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#262A54
secondary
#87824F
accent
#C45ACE
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262A54

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

Preview Lab → · Contrast checker → · Palette generator →

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