#262E7A#262E7A

#262E7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.128 H 273.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#262E7A
RGBrgb(38, 46, 122)
HSLhsl(234, 53%, 31%)
HSVhsv(234, 69%, 48%)
CMYKcmyk(68.9%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.90, 23.21, -44.42)
CIE-LCHlch(22.90, 50.12, 297.59°)
OKLaboklab(34.45% 0.0069 -0.128)
OKLCHoklch(34.45% 0.128 273.1)
XYZxyz(5.2880, 3.7707, 18.8577)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7A #7A7226
analogous
#26587A #262E7A #48267A
triadic
#262E7A #7A262E #2E7A26
tetradic
#262E7A #7A2658 #7A7226 #267A48
square
#262E7A #7A2658 #7A7226 #267A48
split-complementary
#262E7A #7A4826 #587A26
monochromatic
#090B1D #171C4B #262E7A #3540A9 #515DC9

Accessibility & contrast

On white

11.97
#262E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E7A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E7A#FFFFFF#000000##FFFFFF
##262E7A1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262e7a;
/* rgb */ color: rgb(38, 46, 122);
/* oklch */ color: oklch(34.5% 0.128 273.1);
Tailwind
colors: {
  custom: {
    50: '#6c66a1',
    500: '#262e7a',
    950: '#000000',
  },
}
SCSS
$custom: #262e7a;
$custom-light: #6c66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7a",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 234.286,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34453,
    "c": 0.12814,
    "h": 273.1
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#262E7A
secondary
#ACA350
accent
#CE4CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #262E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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