#262F8A#262F8A

#262F8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.150 H 272.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#262F8A
RGBrgb(38, 47, 138)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(72.5%, 65.9%, 0%, 45.9%)
CIE-LABlab(24.57, 28.54, -51.74)
CIE-LCHlch(24.57, 59.09, 298.89°)
OKLaboklab(36.13% 0.0054 -0.1494)
OKLCHoklch(36.13% 0.15 272.1)
XYZxyz(6.4017, 4.2794, 24.5285)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F8A #8A8126
analogous
#26618A #262F8A #4F268A
triadic
#262F8A #8A262F #2F8A26
tetradic
#262F8A #8A2661 #8A8126 #268A4F
square
#262F8A #8A2661 #8A8126 #268A4F
split-complementary
#262F8A #8A4F26 #618A26
monochromatic
#0C0E2A #191F5A #262F8A #333FBA #5964D1

Accessibility & contrast

On white

11.31
#262F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#262F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F8A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F8A#FFFFFF#000000##FFFFFF
##262F8A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262f8a;
/* rgb */ color: rgb(38, 47, 138);
/* oklch */ color: oklch(36.1% 0.150 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f67ad',
    500: '#262f8a',
    950: '#000000',
  },
}
SCSS
$custom: #262f8a;
$custom-light: #6f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#262f8a",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 234.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.14954,
    "h": 272.1
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#262F8A
secondary
#B6AD56
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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