#262C5D#262C5D

#262C5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.087 H 275.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#262C5D
RGBrgb(38, 44, 93)
HSLhsl(233, 42%, 26%)
HSVhsv(233, 59%, 36%)
CMYKcmyk(59.1%, 52.7%, 0%, 63.5%)
CIE-LABlab(20.06, 13.65, -30.24)
CIE-LCHlch(20.06, 33.18, 294.30°)
OKLaboklab(31.61% 0.0076 -0.0863)
OKLCHoklch(31.61% 0.087 275.1)
XYZxyz(3.6752, 3.0035, 10.7399)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C5D #5D5726
analogous
#26475D #262C5D #3B265D
triadic
#262C5D #5D262C #2C5D26
tetradic
#262C5D #5D2647 #5D5726 #265D3B
square
#262C5D #5D2647 #5D5726 #265D3B
split-complementary
#262C5D #5D3B26 #475D26
monochromatic
#090A16 #141732 #262C5D #384188 #4A55B4

Accessibility & contrast

On white

13.12
#262C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#262C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C5D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C5D#FFFFFF#000000##FFFFFF
##262C5D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#093740
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262c5d;
/* rgb */ color: rgb(38, 44, 93);
/* oklch */ color: oklch(31.6% 0.087 275.1);
Tailwind
colors: {
  custom: {
    50: '#65648b',
    500: '#262c5d',
    950: '#000000',
  },
}
SCSS
$custom: #262c5d;
$custom-light: #65648b;
$custom-dark: #000000;
JSON
{
  "hex": "#262c5d",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 233.455,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.08663,
    "h": 275.1
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#262C5D
secondary
#90894F
accent
#C456D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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