#262F9B#262F9B

#262F9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.172 H 271.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#262F9B
RGBrgb(38, 47, 155)
HSLhsl(235, 61%, 38%)
HSVhsv(235, 75%, 61%)
CMYKcmyk(75.5%, 69.7%, 0%, 39.2%)
CIE-LABlab(26.19, 34.78, -59.57)
CIE-LCHlch(26.19, 68.98, 300.28°)
OKLaboklab(37.8% 0.0038 -0.1723)
OKLCHoklch(37.8% 0.172 271.3)
XYZxyz(7.7302, 4.8108, 31.5252)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9B #9B9226
analogous
#26699B #262F9B #58269B
triadic
#262F9B #9B262F #2F9B26
tetradic
#262F9B #9B2669 #9B9226 #269B58
square
#262F9B #9B2669 #9B9226 #269B58
split-complementary
#262F9B #9B5826 #699B26
monochromatic
#0E1139 #1A206A #262F9B #323ECC #636CD9

Accessibility & contrast

On white

10.70
#262F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F9B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9B#FFFFFF#000000##FFFFFF
##262F9B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262f9b;
/* rgb */ color: rgb(38, 47, 155);
/* oklch */ color: oklch(37.8% 0.172 271.3);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#262f9b',
    950: '#000000',
  },
}
SCSS
$custom: #262f9b;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9b",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 235.385,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.17239,
    "h": 271.3
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#262F9B
secondary
#BEB75F
accent
#D744E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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