#262C58#262C58

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

Color values

HEX#262C58
RGBrgb(38, 44, 88)
HSLhsl(233, 40%, 25%)
HSVhsv(233, 57%, 35%)
CMYKcmyk(56.8%, 50%, 0%, 65.5%)
CIE-LABlab(19.71, 11.80, -27.48)
CIE-LCHlch(19.71, 29.90, 293.23°)
OKLaboklab(31.23% 0.0069 -0.0782)
OKLCHoklch(31.23% 0.079 275.1)
XYZxyz(3.4609, 2.9178, 9.6114)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C58 #585226
analogous
#264558 #262C58 #392658
triadic
#262C58 #58262C #2C5826
tetradic
#262C58 #582645 #585226 #265839
square
#262C58 #582645 #585226 #265839
split-complementary
#262C58 #583926 #455826
monochromatic
#090B15 #14172D #262C58 #384183 #4B57AD

Accessibility & contrast

On white

13.26
#262C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C58
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C58#FFFFFF#000000##FFFFFF
##262C581.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#132E57
Tritanopia (blue-blind)
#0F363D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262c58;
/* rgb */ color: rgb(38, 44, 88);
/* oklch */ color: oklch(31.2% 0.079 275.1);
Tailwind
colors: {
  custom: {
    50: '#656487',
    500: '#262c58',
    950: '#000000',
  },
}
SCSS
$custom: #262c58;
$custom-light: #656487;
$custom-dark: #000000;
JSON
{
  "hex": "#262c58",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 232.8,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.0785,
    "h": 275.1
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#262C58
secondary
#8B844F
accent
#C158D0
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262C58

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

Preview Lab → · Contrast checker → · Palette generator →

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