#262F5D#262F5D

#262F5D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.082 H 272.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#262F5D
RGBrgb(38, 47, 93)
HSLhsl(230, 42%, 26%)
HSVhsv(230, 59%, 36%)
CMYKcmyk(59.1%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.96, 11.52, -28.79)
CIE-LCHlch(20.96, 31.01, 291.80°)
OKLaboklab(32.29% 0.0038 -0.082)
OKLCHoklch(32.29% 0.082 272.7)
XYZxyz(3.7910, 3.2351, 10.7785)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F5D #5D5426
analogous
#264A5D #262F5D #38265D
triadic
#262F5D #5D262F #2F5D26
tetradic
#262F5D #5D264A #5D5426 #265D38
square
#262F5D #5D264A #5D5426 #265D38
split-complementary
#262F5D #5D3826 #4A5D26
monochromatic
#090B16 #141932 #262F5D #384588 #4A5BB4

Accessibility & contrast

On white

12.75
#262F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F5D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F5D#FFFFFF#000000##FFFFFF
##262F5D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#093941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262f5d;
/* rgb */ color: rgb(38, 47, 93);
/* oklch */ color: oklch(32.3% 0.082 272.7);
Tailwind
colors: {
  custom: {
    50: '#65678b',
    500: '#262f5d',
    950: '#000000',
  },
}
SCSS
$custom: #262f5d;
$custom-light: #65678b;
$custom-dark: #000000;
JSON
{
  "hex": "#262f5d",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 230.182,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.08209,
    "h": 272.7
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#262F5D
secondary
#90854F
accent
#BE56D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #262F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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