#262F95#262F95

#262F95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.164 H 271.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#262F95
RGBrgb(38, 47, 149)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(74.5%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.61, 32.60, -56.85)
CIE-LCHlch(25.61, 65.54, 299.83°)
OKLaboklab(37.2% 0.0045 -0.1644)
OKLCHoklch(37.2% 0.164 271.6)
XYZxyz(7.2388, 4.6143, 28.9371)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F95 #958C26
analogous
#266795 #262F95 #552695
triadic
#262F95 #95262F #2F9526
tetradic
#262F95 #952667 #958C26 #269555
square
#262F95 #952667 #958C26 #269555
split-complementary
#262F95 #955526 #679526
monochromatic
#0D1033 #1A2064 #262F95 #323EC6 #5F69D6

Accessibility & contrast

On white

10.92
#262F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F95
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F95#FFFFFF#000000##FFFFFF
##262F951.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #262f95;
/* rgb */ color: rgb(38, 47, 149);
/* oklch */ color: oklch(37.2% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#7268b5',
    500: '#262f95',
    950: '#000000',
  },
}
SCSS
$custom: #262f95;
$custom-light: #7268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262f95",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 235.135,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.16447,
    "h": 271.6
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#262F95
secondary
#BBB45B
accent
#D645E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F95

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

Preview Lab → · Contrast checker → · Palette generator →

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