#262A69#262A69

#262A69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.108 H 275.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#262A69
RGBrgb(38, 42, 105)
HSLhsl(236, 47%, 28%)
HSVhsv(236, 64%, 41%)
CMYKcmyk(63.8%, 60%, 0%, 58.8%)
CIE-LABlab(20.39, 19.58, -37.57)
CIE-LCHlch(20.39, 42.36, 297.52°)
OKLaboklab(32.15% 0.0108 -0.1079)
OKLCHoklch(32.15% 0.108 275.7)
XYZxyz(4.1763, 3.0876, 13.7378)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A69 #696526
analogous
#264B69 #262A69 #432669
triadic
#262A69 #69262A #2A6926
tetradic
#262A69 #69264B #696526 #266943
square
#262A69 #69264B #696526 #266943
split-complementary
#262A69 #694326 #4B6926
monochromatic
#080916 #16183C #262A69 #363C96 #4B52BE

Accessibility & contrast

On white

12.98
#262A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A69
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A69#FFFFFF#000000##FFFFFF
##262A691.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262a69;
/* rgb */ color: rgb(38, 42, 105);
/* oklch */ color: oklch(32.1% 0.108 275.7);
Tailwind
colors: {
  custom: {
    50: '#686394',
    500: '#262a69',
    950: '#000000',
  },
}
SCSS
$custom: #262a69;
$custom-light: #686394;
$custom-dark: #000000;
JSON
{
  "hex": "#262a69",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 236.418,
    "s": 46.853,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.10841,
    "h": 275.7
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#262A69
secondary
#9C974F
accent
#CF51D6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #262A69

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

Preview Lab → · Contrast checker → · Palette generator →

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