#262F7C#262F7C

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

Color values

HEX#262F7C
RGBrgb(38, 47, 124)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(69.4%, 62.1%, 0%, 51.4%)
CIE-LABlab(23.34, 23.28, -44.97)
CIE-LCHlch(23.34, 50.64, 297.37°)
OKLaboklab(34.83% 0.0059 -0.1296)
OKLCHoklch(34.83% 0.13 272.6)
XYZxyz(5.4527, 3.8998, 19.5303)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F7C #7C7326
analogous
#265A7C #262F7C #48267C
triadic
#262F7C #7C262F #2F7C26
tetradic
#262F7C #7C265A #7C7326 #267C48
square
#262F7C #7C265A #7C7326 #267C48
split-complementary
#262F7C #7C4826 #5A7C26
monochromatic
#090B1E #181D4D #262F7C #3441AB #525FCA

Accessibility & contrast

On white

11.80
#262F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F7C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F7C#FFFFFF#000000##FFFFFF
##262F7C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262f7c;
/* rgb */ color: rgb(38, 47, 124);
/* oklch */ color: oklch(34.8% 0.130 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c67a3',
    500: '#262f7c',
    950: '#000000',
  },
}
SCSS
$custom: #262f7c;
$custom-light: #6c67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262f7c",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 233.721,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34831,
    "c": 0.12972,
    "h": 272.6
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#262F7C
secondary
#AEA450
accent
#CD4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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