#262F79#262F79

#262F79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.125 H 272.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#262F79
RGBrgb(38, 47, 121)
HSLhsl(233, 52%, 31%)
HSVhsv(233, 69%, 47%)
CMYKcmyk(68.6%, 61.2%, 0%, 52.5%)
CIE-LABlab(23.08, 22.14, -43.48)
CIE-LCHlch(23.08, 48.79, 296.99°)
OKLaboklab(34.57% 0.006 -0.1252)
OKLCHoklch(34.57% 0.125 272.7)
XYZxyz(5.2659, 3.8251, 18.5463)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F79 #797026
analogous
#265879 #262F79 #462679
triadic
#262F79 #79262F #2F7926
tetradic
#262F79 #792658 #797026 #267946
square
#262F79 #792658 #797026 #267946
split-complementary
#262F79 #794626 #587926
monochromatic
#090B1C #171D4A #262F79 #3541A8 #515EC8

Accessibility & contrast

On white

11.90
#262F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F79
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F79#FFFFFF#000000##FFFFFF
##262F791.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262f79;
/* rgb */ color: rgb(38, 47, 121);
/* oklch */ color: oklch(34.6% 0.125 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b67a0',
    500: '#262f79',
    950: '#000000',
  },
}
SCSS
$custom: #262f79;
$custom-light: #6b67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#262f79",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 233.494,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34565,
    "c": 0.12534,
    "h": 272.7
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#262F79
secondary
#ABA150
accent
#CC4CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #262F79

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

Preview Lab → · Contrast checker → · Palette generator →

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