#262D5E#262D5E

#262D5E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.087 H 274.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#262D5E
RGBrgb(38, 45, 94)
HSLhsl(233, 42%, 26%)
HSVhsv(233, 60%, 37%)
CMYKcmyk(59.6%, 52.1%, 0%, 63.1%)
CIE-LABlab(20.43, 13.31, -30.31)
CIE-LCHlch(20.43, 33.10, 293.72°)
OKLaboklab(31.91% 0.0065 -0.0865)
OKLCHoklch(31.91% 0.087 274.3)
XYZxyz(3.7574, 3.0967, 10.9872)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D5E #5E5726
analogous
#26495E #262D5E #3B265E
triadic
#262D5E #5E262D #2D5E26
tetradic
#262D5E #5E2649 #5E5726 #265E3B
square
#262D5E #5E2649 #5E5726 #265E3B
split-complementary
#262D5E #5E3B26 #495E26
monochromatic
#090A16 #141832 #262D5E #38428A #4957B5

Accessibility & contrast

On white

12.97
#262D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D5E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D5E#FFFFFF#000000##FFFFFF
##262D5E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#083841
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262d5e;
/* rgb */ color: rgb(38, 45, 94);
/* oklch */ color: oklch(31.9% 0.087 274.3);
Tailwind
colors: {
  custom: {
    50: '#66658c',
    500: '#262d5e',
    950: '#000000',
  },
}
SCSS
$custom: #262d5e;
$custom-light: #66658c;
$custom-dark: #000000;
JSON
{
  "hex": "#262d5e",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 232.5,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3191,
    "c": 0.08672,
    "h": 274.3
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#262D5E
secondary
#91894F
accent
#C356D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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