#262F7D#262F7D

#262F7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.131 H 272.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#262F7D
RGBrgb(38, 47, 125)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 70%, 49%)
CMYKcmyk(69.6%, 62.4%, 0%, 51%)
CIE-LABlab(23.42, 23.66, -45.46)
CIE-LCHlch(23.42, 51.25, 297.49°)
OKLaboklab(34.92% 0.0059 -0.131)
OKLCHoklch(34.92% 0.131 272.6)
XYZxyz(5.5163, 3.9253, 19.8650)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F7D #7D7426
analogous
#265B7D #262F7D #49267D
triadic
#262F7D #7D262F #2F7D26
tetradic
#262F7D #7D265B #7D7426 #267D49
square
#262F7D #7D265B #7D7426 #267D49
split-complementary
#262F7D #7D4926 #5B7D26
monochromatic
#090C1F #181D4E #262F7D #3441AC #535FCB

Accessibility & contrast

On white

11.76
#262F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F7D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F7D#FFFFFF#000000##FFFFFF
##262F7D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262f7d;
/* rgb */ color: rgb(38, 47, 125);
/* oklch */ color: oklch(34.9% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c67a3',
    500: '#262f7d',
    950: '#000000',
  },
}
SCSS
$custom: #262f7d;
$custom-light: #6c67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262f7d",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 233.793,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.13116,
    "h": 272.6
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#262F7D
secondary
#AFA550
accent
#CE4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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