#262F9D#262F9D

#262F9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.175 H 271.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#262F9D
RGBrgb(38, 47, 157)
HSLhsl(235, 61%, 38%)
HSVhsv(235, 76%, 62%)
CMYKcmyk(75.8%, 70.1%, 0%, 38.4%)
CIE-LABlab(26.39, 35.50, -60.47)
CIE-LCHlch(26.39, 70.12, 300.42°)
OKLaboklab(38% 0.0036 -0.175)
OKLCHoklch(38% 0.175 271.2)
XYZxyz(7.8996, 4.8786, 32.4171)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9D #9D9426
analogous
#266A9D #262F9D #58269D
triadic
#262F9D #9D262F #2F9D26
tetradic
#262F9D #9D266A #9D9426 #269D58
square
#262F9D #9D266A #9D9426 #269D58
split-complementary
#262F9D #9D5826 #6A9D26
monochromatic
#0E113A #1A206C #262F9D #333ECE #646DD9

Accessibility & contrast

On white

10.63
#262F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F9D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9D#FFFFFF#000000##FFFFFF
##262F9D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262f9d;
/* rgb */ color: rgb(38, 47, 157);
/* oklch */ color: oklch(38.0% 0.175 271.2);
Tailwind
colors: {
  custom: {
    50: '#7468bb',
    500: '#262f9d',
    950: '#000000',
  },
}
SCSS
$custom: #262f9d;
$custom-light: #7468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9d",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 235.462,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.17501,
    "h": 271.2
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#262F9D
secondary
#BFB860
accent
#D844E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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