#262F8F#262F8F

#262F8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.156 H 271.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#262F8F
RGBrgb(38, 47, 143)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(73.4%, 67.1%, 0%, 43.9%)
CIE-LABlab(25.04, 30.40, -54.08)
CIE-LCHlch(25.04, 62.04, 299.34°)
OKLaboklab(36.61% 0.005 -0.1563)
OKLCHoklch(36.61% 0.156 271.8)
XYZxyz(6.7721, 4.4276, 26.4790)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F8F #8F8626
analogous
#26638F #262F8F #51268F
triadic
#262F8F #8F262F #2F8F26
tetradic
#262F8F #8F2663 #8F8626 #268F51
square
#262F8F #8F2663 #8F8626 #268F51
split-complementary
#262F8F #8F5126 #638F26
monochromatic
#0C0F2E #191F5F #262F8F #333FBF #5C66D4

Accessibility & contrast

On white

11.14
#262F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F8F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F8F#FFFFFF#000000##FFFFFF
##262F8F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262f8f;
/* rgb */ color: rgb(38, 47, 143);
/* oklch */ color: oklch(36.6% 0.156 271.8);
Tailwind
colors: {
  custom: {
    50: '#7067b1',
    500: '#262f8f',
    950: '#000000',
  },
}
SCSS
$custom: #262f8f;
$custom-light: #7067b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262f8f",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 234.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.15639,
    "h": 271.8
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#262F8F
secondary
#B9B058
accent
#D447E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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