#262C5B#262C5B

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

Color values

HEX#262C5B
RGBrgb(38, 44, 91)
HSLhsl(233, 41%, 25%)
HSVhsv(233, 58%, 36%)
CMYKcmyk(58.2%, 51.6%, 0%, 64.3%)
CIE-LABlab(19.92, 12.91, -29.14)
CIE-LCHlch(19.92, 31.87, 293.89°)
OKLaboklab(31.46% 0.0074 -0.0831)
OKLCHoklch(31.46% 0.083 275.1)
XYZxyz(3.5877, 2.9685, 10.2794)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C5B #5B5526
analogous
#26465B #262C5B #3B265B
triadic
#262C5B #5B262C #2C5B26
tetradic
#262C5B #5B2646 #5B5526 #265B3B
square
#262C5B #5B2646 #5B5526 #265B3B
split-complementary
#262C5B #5B3B26 #465B26
monochromatic
#090A16 #141730 #262C5B #384186 #4A56B1

Accessibility & contrast

On white

13.18
#262C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#262C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C5B
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C5B#FFFFFF#000000##FFFFFF
##262C5B1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#0C363F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262c5b;
/* rgb */ color: rgb(38, 44, 91);
/* oklch */ color: oklch(31.5% 0.083 275.1);
Tailwind
colors: {
  custom: {
    50: '#65648a',
    500: '#262c5b',
    950: '#000000',
  },
}
SCSS
$custom: #262c5b;
$custom-light: #65648a;
$custom-dark: #000000;
JSON
{
  "hex": "#262c5b",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 233.208,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31456,
    "c": 0.0834,
    "h": 275.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#262C5B
secondary
#8E874F
accent
#C357D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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