#262F57#262F57

#262F57 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.072 H 272.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#262F57
RGBrgb(38, 47, 87)
HSLhsl(229, 39%, 25%)
HSVhsv(229, 56%, 34%)
CMYKcmyk(56.3%, 46%, 0%, 65.9%)
CIE-LABlab(20.57, 9.28, -25.45)
CIE-LCHlch(20.57, 27.09, 290.04°)
OKLaboklab(31.87% 0.0027 -0.0722)
OKLCHoklch(31.87% 0.072 272.2)
XYZxyz(3.5356, 3.1330, 9.4334)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F57 #574E26
analogous
#264857 #262F57 #362657
triadic
#262F57 #57262F #2F5726
tetradic
#262F57 #572648 #574E26 #265736
square
#262F57 #572648 #574E26 #265736
split-complementary
#262F57 #573626 #485726
monochromatic
#090C15 #13182C #262F57 #394682 #4B5DAC

Accessibility & contrast

On white

12.91
#262F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F57
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F57#FFFFFF#000000##FFFFFF
##262F571.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3459
Deuteranopia (green-blind)
#193056
Tritanopia (blue-blind)
#10383E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262f57;
/* rgb */ color: rgb(38, 47, 87);
/* oklch */ color: oklch(31.9% 0.072 272.2);
Tailwind
colors: {
  custom: {
    50: '#646786',
    500: '#262f57',
    950: '#000000',
  },
}
SCSS
$custom: #262f57;
$custom-light: #646786;
$custom-dark: #000000;
JSON
{
  "hex": "#262f57",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 228.98,
    "s": 39.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.07225,
    "h": 272.2
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#262F57
secondary
#8A7F4F
accent
#B959CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #262F57

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

Preview Lab → · Contrast checker → · Palette generator →

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