#262F9F#262F9F

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

Color values

HEX#262F9F
RGBrgb(38, 47, 159)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(76.1%, 70.4%, 0%, 37.6%)
CIE-LABlab(26.58, 36.22, -61.36)
CIE-LCHlch(26.58, 71.25, 300.55°)
OKLaboklab(38.2% 0.0034 -0.1776)
OKLCHoklch(38.2% 0.178 271.1)
XYZxyz(8.0717, 4.9474, 33.3237)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9F #9F9626
analogous
#266B9F #262F9F #59269F
triadic
#262F9F #9F262F #2F9F26
tetradic
#262F9F #9F266B #9F9626 #269F59
square
#262F9F #9F266B #9F9626 #269F59
split-complementary
#262F9F #9F5926 #6B9F26
monochromatic
#0E123C #1A206E #262F9F #343FCE #656EDA

Accessibility & contrast

On white

10.55
#262F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#262F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F9F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9F#FFFFFF#000000##FFFFFF
##262F9F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262f9f;
/* rgb */ color: rgb(38, 47, 159);
/* oklch */ color: oklch(38.2% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#7468bc',
    500: '#262f9f',
    950: '#000000',
  },
}
SCSS
$custom: #262f9f;
$custom-light: #7468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9f",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 235.537,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.382,
    "c": 0.1776,
    "h": 271.1
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#262F9F
secondary
#C0B961
accent
#D943E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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