#262D9F#262D9F

#262D9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.180 H 271.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#262D9F
RGBrgb(38, 45, 159)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(76.1%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.13, 37.46, -62.11)
CIE-LCHlch(26.13, 72.53, 301.10°)
OKLaboklab(37.87% 0.0044 -0.1797)
OKLCHoklch(37.87% 0.18 271.4)
XYZxyz(7.9936, 4.7912, 33.2977)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D9F #9F9826
analogous
#26699F #262D9F #5B269F
triadic
#262D9F #9F262D #2D9F26
tetradic
#262D9F #9F2669 #9F9826 #269F5B
square
#262D9F #9F2669 #9F9826 #269F5B
split-complementary
#262D9F #9F5B26 #699F26
monochromatic
#0E113C #1A1F6E #262D9F #343DCE #656CDA

Accessibility & contrast

On white

10.72
#262D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#262D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D9F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D9F#FFFFFF#000000##FFFFFF
##262D9F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262d9f;
/* rgb */ color: rgb(38, 45, 159);
/* oklch */ color: oklch(37.9% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#262d9f',
    950: '#000000',
  },
}
SCSS
$custom: #262d9f;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#262d9f",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 236.529,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.1798,
    "h": 271.4
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#262D9F
secondary
#C0BA61
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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