#262F7B#262F7B

#262F7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.128 H 272.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#262F7B
RGBrgb(38, 47, 123)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 48%)
CMYKcmyk(69.1%, 61.8%, 0%, 51.8%)
CIE-LABlab(23.25, 22.90, -44.47)
CIE-LCHlch(23.25, 50.02, 297.25°)
OKLaboklab(34.74% 0.0059 -0.1281)
OKLCHoklch(34.74% 0.128 272.7)
XYZxyz(5.3898, 3.8747, 19.1989)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F7B #7B7226
analogous
#265A7B #262F7B #48267B
triadic
#262F7B #7B262F #2F7B26
tetradic
#262F7B #7B265A #7B7226 #267B48
square
#262F7B #7B265A #7B7226 #267B48
split-complementary
#262F7B #7B4826 #5A7B26
monochromatic
#090B1D #181D4C #262F7B #3441AA #525FCA

Accessibility & contrast

On white

11.83
#262F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#262F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F7B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F7B#FFFFFF#000000##FFFFFF
##262F7B1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262f7b;
/* rgb */ color: rgb(38, 47, 123);
/* oklch */ color: oklch(34.7% 0.128 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c67a2',
    500: '#262f7b',
    950: '#000000',
  },
}
SCSS
$custom: #262f7b;
$custom-light: #6c67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262f7b",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 233.647,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34742,
    "c": 0.12826,
    "h": 272.7
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#262F7B
secondary
#ADA350
accent
#CD4CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #262F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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