#262F8E#262F8E

#262F8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.155 H 271.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#262F8E
RGBrgb(38, 47, 142)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(73.2%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.94, 30.03, -53.62)
CIE-LCHlch(24.94, 61.45, 299.25°)
OKLaboklab(36.51% 0.0051 -0.1549)
OKLCHoklch(36.51% 0.155 271.9)
XYZxyz(6.6967, 4.3974, 26.0818)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F8E #8E8526
analogous
#26638E #262F8E #51268E
triadic
#262F8E #8E262F #2F8E26
tetradic
#262F8E #8E2663 #8E8526 #268E51
square
#262F8E #8E2663 #8E8526 #268E51
split-complementary
#262F8E #8E5126 #638E26
monochromatic
#0C0F2D #191F5E #262F8E #333FBE #5B66D3

Accessibility & contrast

On white

11.17
#262F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F8E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F8E#FFFFFF#000000##FFFFFF
##262F8E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262f8e;
/* rgb */ color: rgb(38, 47, 142);
/* oklch */ color: oklch(36.5% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#7067b0',
    500: '#262f8e',
    950: '#000000',
  },
}
SCSS
$custom: #262f8e;
$custom-light: #7067b0;
$custom-dark: #000000;
JSON
{
  "hex": "#262f8e",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 234.808,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.15502,
    "h": 271.9
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#262F8E
secondary
#B8B058
accent
#D447E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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