#262A5D#262A5D

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

Color values

HEX#262A5D
RGBrgb(38, 42, 93)
HSLhsl(236, 42%, 26%)
HSVhsv(236, 59%, 36%)
CMYKcmyk(59.1%, 54.8%, 0%, 63.5%)
CIE-LABlab(19.47, 15.08, -31.19)
CIE-LCHlch(19.47, 34.64, 295.80°)
OKLaboklab(31.16% 0.0101 -0.0891)
OKLCHoklch(31.16% 0.09 276.5)
XYZxyz(3.6024, 2.8581, 10.7156)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A5D #5D5926
analogous
#26455D #262A5D #3D265D
triadic
#262A5D #5D262A #2A5D26
tetradic
#262A5D #5D2645 #5D5926 #265D3D
square
#262A5D #5D2645 #5D5926 #265D3D
split-complementary
#262A5D #5D3D26 #455D26
monochromatic
#090A16 #141632 #262A5D #383E88 #4A51B4

Accessibility & contrast

On white

13.36
#262A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A5D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A5D#FFFFFF#000000##FFFFFF
##262A5D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#0A353F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262a5d;
/* rgb */ color: rgb(38, 42, 93);
/* oklch */ color: oklch(31.2% 0.090 276.5);
Tailwind
colors: {
  custom: {
    50: '#66638b',
    500: '#262a5d',
    950: '#000000',
  },
}
SCSS
$custom: #262a5d;
$custom-light: #66638b;
$custom-dark: #000000;
JSON
{
  "hex": "#262a5d",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 235.636,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31161,
    "c": 0.08969,
    "h": 276.5
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#262A5D
secondary
#908B4F
accent
#C956D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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