#262D6F#262D6F

#262D6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.113 H 273.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#262D6F
RGBrgb(38, 45, 111)
HSLhsl(234, 49%, 29%)
HSVhsv(234, 66%, 44%)
CMYKcmyk(65.8%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.71, 19.74, -39.31)
CIE-LCHlch(21.71, 43.99, 296.66°)
OKLaboklab(33.28% 0.0078 -0.113)
OKLCHoklch(33.28% 0.113 273.9)
XYZxyz(4.6060, 3.4362, 15.4564)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D6F #6F6826
analogous
#26526F #262D6F #44266F
triadic
#262D6F #6F262D #2D6F26
tetradic
#262D6F #6F2652 #6F6826 #266F44
square
#262D6F #6F2652 #6F6826 #266F44
split-complementary
#262D6F #6F4426 #526F26
monochromatic
#080917 #161B41 #262D6F #363F9D #4D58C2

Accessibility & contrast

On white

12.45
#262D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D6F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D6F#FFFFFF#000000##FFFFFF
##262D6F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262d6f;
/* rgb */ color: rgb(38, 45, 111);
/* oklch */ color: oklch(33.3% 0.113 273.9);
Tailwind
colors: {
  custom: {
    50: '#696599',
    500: '#262d6f',
    950: '#000000',
  },
}
SCSS
$custom: #262d6f;
$custom-light: #696599;
$custom-dark: #000000;
JSON
{
  "hex": "#262d6f",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 234.247,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33285,
    "c": 0.11323,
    "h": 273.9
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#262D6F
secondary
#A29A4F
accent
#CB4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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