#262F62#262F62

#262F62 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.090 H 272.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#262F62
RGBrgb(38, 47, 98)
HSLhsl(231, 44%, 27%)
HSVhsv(231, 61%, 38%)
CMYKcmyk(61.2%, 52%, 0%, 61.6%)
CIE-LABlab(21.31, 13.40, -31.52)
CIE-LCHlch(21.31, 34.25, 293.02°)
OKLaboklab(32.67% 0.0046 -0.09)
OKLCHoklch(32.67% 0.09 272.9)
XYZxyz(4.0197, 3.3266, 11.9832)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F62 #625926
analogous
#264D62 #262F62 #3B2662
triadic
#262F62 #62262F #2F6226
tetradic
#262F62 #62264D #625926 #26623B
square
#262F62 #62264D #625926 #26623B
split-complementary
#262F62 #623B26 #4D6226
monochromatic
#090B16 #151A36 #262F62 #37448E #4A5AB9

Accessibility & contrast

On white

12.61
#262F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F62
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F62#FFFFFF#000000##FFFFFF
##262F621.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163664
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#013A43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262f62;
/* rgb */ color: rgb(38, 47, 98);
/* oklch */ color: oklch(32.7% 0.090 272.9);
Tailwind
colors: {
  custom: {
    50: '#66678f',
    500: '#262f62',
    950: '#000000',
  },
}
SCSS
$custom: #262f62;
$custom-light: #66678f;
$custom-dark: #000000;
JSON
{
  "hex": "#262f62",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 231,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32667,
    "c": 0.09015,
    "h": 272.9
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#262F62
secondary
#958B4F
accent
#C154D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #262F62

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

Preview Lab → · Contrast checker → · Palette generator →

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