#262F9E#262F9E

#262F9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.176 H 271.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#262F9E
RGBrgb(38, 47, 158)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(75.9%, 70.3%, 0%, 38%)
CIE-LABlab(26.49, 35.86, -60.91)
CIE-LCHlch(26.49, 70.69, 300.49°)
OKLaboklab(38.1% 0.0035 -0.1763)
OKLCHoklch(38.1% 0.176 271.1)
XYZxyz(7.9853, 4.9129, 32.8686)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9E #9E9526
analogous
#266B9E #262F9E #59269E
triadic
#262F9E #9E262F #2F9E26
tetradic
#262F9E #9E266B #9E9526 #269E59
square
#262F9E #9E266B #9E9526 #269E59
split-complementary
#262F9E #9E5926 #6B9E26
monochromatic
#0E123B #1A206D #262F9E #333FCE #656DDA

Accessibility & contrast

On white

10.59
#262F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#262F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F9E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9E#FFFFFF#000000##FFFFFF
##262F9E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262f9e;
/* rgb */ color: rgb(38, 47, 158);
/* oklch */ color: oklch(38.1% 0.176 271.1);
Tailwind
colors: {
  custom: {
    50: '#7468bc',
    500: '#262f9e',
    950: '#000000',
  },
}
SCSS
$custom: #262f9e;
$custom-light: #7468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9e",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 235.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38099,
    "c": 0.1763,
    "h": 271.1
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#262F9E
secondary
#C0B860
accent
#D843E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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