#262B52#262B52

#262B52 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.070 H 275.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#262B52
RGBrgb(38, 43, 82)
HSLhsl(233, 37%, 24%)
HSVhsv(233, 54%, 32%)
CMYKcmyk(53.7%, 47.6%, 0%, 67.8%)
CIE-LABlab(19.01, 10.31, -24.59)
CIE-LCHlch(19.01, 26.67, 292.75°)
OKLaboklab(30.57% 0.0072 -0.0697)
OKLCHoklch(30.57% 0.07 275.9)
XYZxyz(3.1857, 2.7488, 8.3437)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B52 #524D26
analogous
#264152 #262B52 #372652
triadic
#262B52 #52262B #2B5226
tetradic
#262B52 #522641 #524D26 #265237
square
#262B52 #522641 #524D26 #265237
split-complementary
#262B52 #523726 #415226
monochromatic
#0A0B15 #131528 #262B52 #39417C #4D57A6

Accessibility & contrast

On white

13.55
#262B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#262B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B52
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B52#FFFFFF#000000##FFFFFF
##262B521.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3053
Deuteranopia (green-blind)
#172C51
Tritanopia (blue-blind)
#15333A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262b52;
/* rgb */ color: rgb(38, 43, 82);
/* oklch */ color: oklch(30.6% 0.070 275.9);
Tailwind
colors: {
  custom: {
    50: '#646483',
    500: '#262b52',
    950: '#000000',
  },
}
SCSS
$custom: #262b52;
$custom-light: #646483;
$custom-dark: #000000;
JSON
{
  "hex": "#262b52",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 233.182,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30569,
    "c": 0.07009,
    "h": 275.9
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#262B52
secondary
#857F4F
accent
#C05BCD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#05050A
muted
#7A797C

Preview Lab

Preview with #262B52

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

Preview Lab → · Contrast checker → · Palette generator →

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