#262B58#262B58

#262B58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.080 H 275.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#262B58
RGBrgb(38, 43, 88)
HSLhsl(234, 40%, 25%)
HSVhsv(234, 57%, 35%)
CMYKcmyk(56.8%, 51.1%, 0%, 65.5%)
CIE-LABlab(19.41, 12.51, -27.96)
CIE-LCHlch(19.41, 30.63, 294.10°)
OKLaboklab(31% 0.0083 -0.0796)
OKLCHoklch(31% 0.08 275.9)
XYZxyz(3.4241, 2.8442, 9.5992)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B58 #585326
analogous
#264458 #262B58 #3A2658
triadic
#262B58 #58262B #2B5826
tetradic
#262B58 #582644 #585326 #26583A
square
#262B58 #582644 #585326 #26583A
split-complementary
#262B58 #583A26 #445826
monochromatic
#090A15 #14162D #262B58 #384083 #4B55AD

Accessibility & contrast

On white

13.39
#262B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B58
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B58#FFFFFF#000000##FFFFFF
##262B581.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#112D57
Tritanopia (blue-blind)
#10353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262b58;
/* rgb */ color: rgb(38, 43, 88);
/* oklch */ color: oklch(31.0% 0.080 275.9);
Tailwind
colors: {
  custom: {
    50: '#656487',
    500: '#262b58',
    950: '#000000',
  },
}
SCSS
$custom: #262b58;
$custom-light: #656487;
$custom-dark: #000000;
JSON
{
  "hex": "#262b58",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 234,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.08005,
    "h": 275.9
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#262B58
secondary
#8B854F
accent
#C458D0
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #262B58

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

Preview Lab → · Contrast checker → · Palette generator →

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