#262C57#262C57

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

Color values

HEX#262C57
RGBrgb(38, 44, 87)
HSLhsl(233, 39%, 25%)
HSVhsv(233, 56%, 34%)
CMYKcmyk(56.3%, 49.4%, 0%, 65.9%)
CIE-LABlab(19.64, 11.43, -26.92)
CIE-LCHlch(19.64, 29.25, 293.00°)
OKLaboklab(31.16% 0.0068 -0.0766)
OKLCHoklch(31.16% 0.077 275.1)
XYZxyz(3.4198, 2.9013, 9.3948)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C57 #575126
analogous
#264557 #262C57 #392657
triadic
#262C57 #57262C #2C5726
tetradic
#262C57 #572645 #575126 #265739
square
#262C57 #572645 #575126 #265739
split-complementary
#262C57 #573926 #455726
monochromatic
#090B15 #13162C #262C57 #394282 #4B57AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262C57#FFFFFF#000000##FFFFFF
##262C571.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)
#193259
Deuteranopia (green-blind)
#142E56
Tritanopia (blue-blind)
#10353D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262c57;
/* rgb */ color: rgb(38, 44, 87);
/* oklch */ color: oklch(31.2% 0.077 275.1);
Tailwind
colors: {
  custom: {
    50: '#646487',
    500: '#262c57',
    950: '#000000',
  },
}
SCSS
$custom: #262c57;
$custom-light: #646487;
$custom-dark: #000000;
JSON
{
  "hex": "#262c57",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 232.653,
    "s": 39.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3116,
    "c": 0.07685,
    "h": 275.1
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#262C57
secondary
#8A834F
accent
#C159CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262C57

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

Preview Lab → · Contrast checker → · Palette generator →

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