#262D52#262D52

#262D52 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.067 H 273.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#262D52
RGBrgb(38, 45, 82)
HSLhsl(230, 37%, 24%)
HSVhsv(230, 54%, 32%)
CMYKcmyk(53.7%, 45.1%, 0%, 67.8%)
CIE-LABlab(19.63, 8.88, -23.60)
CIE-LCHlch(19.63, 25.22, 290.62°)
OKLaboklab(31.04% 0.0044 -0.0668)
OKLCHoklch(31.04% 0.067 273.8)
XYZxyz(3.2602, 2.8978, 8.3686)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D52 #524B26
analogous
#264352 #262D52 #352652
triadic
#262D52 #52262D #2D5226
tetradic
#262D52 #522643 #524B26 #265235
square
#262D52 #522643 #524B26 #265235
split-complementary
#262D52 #523526 #435226
monochromatic
#0A0B15 #131628 #262D52 #39447C #4D5BA6

Accessibility & contrast

On white

13.29
#262D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#262D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D52
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D52#FFFFFF#000000##FFFFFF
##262D521.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#14353B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262d52;
/* rgb */ color: rgb(38, 45, 82);
/* oklch */ color: oklch(31.0% 0.067 273.8);
Tailwind
colors: {
  custom: {
    50: '#636583',
    500: '#262d52',
    950: '#000000',
  },
}
SCSS
$custom: #262d52;
$custom-light: #636583;
$custom-dark: #000000;
JSON
{
  "hex": "#262d52",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 230.455,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31044,
    "c": 0.06697,
    "h": 273.8
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#262D52
secondary
#857C4F
accent
#BB5BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262D52

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

Preview Lab → · Contrast checker → · Palette generator →

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