#262F50#262F50

#262F50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.061 H 271.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#262F50
RGBrgb(38, 47, 80)
HSLhsl(227, 36%, 23%)
HSVhsv(227, 53%, 31%)
CMYKcmyk(52.5%, 41.3%, 0%, 68.6%)
CIE-LABlab(20.14, 6.73, -21.46)
CIE-LCHlch(20.14, 22.49, 287.42°)
OKLaboklab(31.4% 0.0011 -0.0605)
OKLCHoklch(31.4% 0.061 271)
XYZxyz(3.2634, 3.0241, 7.9996)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F50 #504726
analogous
#264450 #262F50 #322650
triadic
#262F50 #50262F #2F5026
tetradic
#262F50 #502644 #504726 #265032
square
#262F50 #502644 #504726 #265032
split-complementary
#262F50 #503226 #445026
monochromatic
#0A0C15 #121727 #262F50 #3A4779 #4D60A3

Accessibility & contrast

On white

13.09
#262F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#262F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F50
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F50#FFFFFF#000000##FFFFFF
##262F501.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233351
Deuteranopia (green-blind)
#1E2F4F
Tritanopia (blue-blind)
#16363B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262f50;
/* rgb */ color: rgb(38, 47, 80);
/* oklch */ color: oklch(31.4% 0.061 271.0);
Tailwind
colors: {
  custom: {
    50: '#636781',
    500: '#262f50',
    950: '#000000',
  },
}
SCSS
$custom: #262f50;
$custom-light: #636781;
$custom-dark: #000000;
JSON
{
  "hex": "#262f50",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 227.143,
    "s": 35.593,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31397,
    "c": 0.06054,
    "h": 271
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#262F50
secondary
#83784F
accent
#B45CCC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #262F50

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

Preview Lab → · Contrast checker → · Palette generator →

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