#262E50#262E50

#262E50 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.062 H 272.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#262E50
RGBrgb(38, 46, 80)
HSLhsl(229, 36%, 23%)
HSVhsv(229, 53%, 31%)
CMYKcmyk(52.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(19.82, 7.44, -21.96)
CIE-LCHlch(19.82, 23.18, 288.72°)
OKLaboklab(31.15% 0.0025 -0.062)
OKLCHoklch(31.15% 0.062 272.3)
XYZxyz(3.2238, 2.9451, 7.9864)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E50 #504826
analogous
#264350 #262E50 #332650
triadic
#262E50 #50262E #2E5026
tetradic
#262E50 #502643 #504826 #265033
square
#262E50 #502643 #504826 #265033
split-complementary
#262E50 #503326 #435026
monochromatic
#0A0C15 #121627 #262E50 #3A4679 #4D5EA3

Accessibility & contrast

On white

13.22
#262E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#262E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E50
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E50#FFFFFF#000000##FFFFFF
##262E501.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213251
Deuteranopia (green-blind)
#1D2E4F
Tritanopia (blue-blind)
#16353B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262e50;
/* rgb */ color: rgb(38, 46, 80);
/* oklch */ color: oklch(31.2% 0.062 272.3);
Tailwind
colors: {
  custom: {
    50: '#636681',
    500: '#262e50',
    950: '#000000',
  },
}
SCSS
$custom: #262e50;
$custom-light: #636681;
$custom-dark: #000000;
JSON
{
  "hex": "#262e50",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 228.571,
    "s": 35.593,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.06205,
    "h": 272.3
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#262E50
secondary
#83794F
accent
#B65CCC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262E50

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

Preview Lab → · Contrast checker → · Palette generator →

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