#262C53#262C53

#262C53 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.070 H 274.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#262C53
RGBrgb(38, 44, 83)
HSLhsl(232, 37%, 24%)
HSVhsv(232, 54%, 33%)
CMYKcmyk(54.2%, 47%, 0%, 67.5%)
CIE-LABlab(19.38, 9.96, -24.67)
CIE-LCHlch(19.38, 26.60, 291.99°)
OKLaboklab(30.88% 0.006 -0.0699)
OKLCHoklch(30.88% 0.07 274.9)
XYZxyz(3.2609, 2.8378, 8.5579)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C53 #534D26
analogous
#264253 #262C53 #362653
triadic
#262C53 #53262C #2C5326
tetradic
#262C53 #532642 #534D26 #265336
square
#262C53 #532642 #534D26 #265336
split-complementary
#262C53 #533626 #425326
monochromatic
#0A0B15 #131629 #262C53 #39427D #4C59A7

Accessibility & contrast

On white

13.40
#262C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#262C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C53
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C53#FFFFFF#000000##FFFFFF
##262C531.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3154
Deuteranopia (green-blind)
#182D52
Tritanopia (blue-blind)
#14343B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262c53;
/* rgb */ color: rgb(38, 44, 83);
/* oklch */ color: oklch(30.9% 0.070 274.9);
Tailwind
colors: {
  custom: {
    50: '#646483',
    500: '#262c53',
    950: '#000000',
  },
}
SCSS
$custom: #262c53;
$custom-light: #646483;
$custom-dark: #000000;
JSON
{
  "hex": "#262c53",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 232,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.0702,
    "h": 274.9
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#262C53
secondary
#867F4F
accent
#BE5BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262C53

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

Preview Lab → · Contrast checker → · Palette generator →

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