#262B59#262B59

#262B59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.082 H 275.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#262B59
RGBrgb(38, 43, 89)
HSLhsl(234, 40%, 25%)
HSVhsv(234, 57%, 35%)
CMYKcmyk(57.3%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.48, 12.88, -28.52)
CIE-LCHlch(19.48, 31.29, 294.31°)
OKLaboklab(31.08% 0.0084 -0.0812)
OKLCHoklch(31.08% 0.082 275.9)
XYZxyz(3.4658, 2.8609, 9.8188)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B59 #595426
analogous
#264459 #262B59 #3B2659
triadic
#262B59 #59262B #2B5926
tetradic
#262B59 #592644 #595426 #26593B
square
#262B59 #592644 #595426 #26593B
split-complementary
#262B59 #593B26 #445926
monochromatic
#090A15 #14162E #262B59 #384084 #4B54AF

Accessibility & contrast

On white

13.36
#262B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#262B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B59
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B59#FFFFFF#000000##FFFFFF
##262B591.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315B
Deuteranopia (green-blind)
#102D58
Tritanopia (blue-blind)
#0F353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262b59;
/* rgb */ color: rgb(38, 43, 89);
/* oklch */ color: oklch(31.1% 0.082 275.9);
Tailwind
colors: {
  custom: {
    50: '#656488',
    500: '#262b59',
    950: '#000000',
  },
}
SCSS
$custom: #262b59;
$custom-light: #656488;
$custom-dark: #000000;
JSON
{
  "hex": "#262b59",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 234.118,
    "s": 40.157,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31078,
    "c": 0.08168,
    "h": 275.9
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#262B59
secondary
#8C864F
accent
#C458D0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262B59

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

Preview Lab → · Contrast checker → · Palette generator →

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