#262F65#262F65

#262F65 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.095 H 273.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#262F65
RGBrgb(38, 47, 101)
HSLhsl(231, 45%, 27%)
HSVhsv(231, 62%, 40%)
CMYKcmyk(62.4%, 53.5%, 0%, 60.4%)
CIE-LABlab(21.52, 14.53, -33.14)
CIE-LCHlch(21.52, 36.18, 293.68°)
OKLaboklab(32.9% 0.0049 -0.0948)
OKLCHoklch(32.9% 0.095 273)
XYZxyz(4.1640, 3.3844, 12.7432)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F65 #655C26
analogous
#264E65 #262F65 #3D2665
triadic
#262F65 #65262F #2F6526
tetradic
#262F65 #65264E #655C26 #26653D
square
#262F65 #65264E #655C26 #26653D
split-complementary
#262F65 #653D26 #4E6526
monochromatic
#080A16 #151A39 #262F65 #374491 #4A5ABB

Accessibility & contrast

On white

12.52
#262F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F65
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F65#FFFFFF#000000##FFFFFF
##262F651.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123667
Deuteranopia (green-blind)
#063164
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262f65;
/* rgb */ color: rgb(38, 47, 101);
/* oklch */ color: oklch(32.9% 0.095 273.0);
Tailwind
colors: {
  custom: {
    50: '#676791',
    500: '#262f65',
    950: '#000000',
  },
}
SCSS
$custom: #262f65;
$custom-light: #676791;
$custom-dark: #000000;
JSON
{
  "hex": "#262f65",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 231.429,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32899,
    "c": 0.09491,
    "h": 273
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#262F65
secondary
#988E4F
accent
#C253D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060D
muted
#7A7A7D

Preview Lab

Preview with #262F65

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

Preview Lab → · Contrast checker → · Palette generator →

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