#262F60#262F60

#262F60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.087 H 272.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#262F60
RGBrgb(38, 47, 96)
HSLhsl(231, 43%, 26%)
HSVhsv(231, 60%, 38%)
CMYKcmyk(60.4%, 51%, 0%, 62.4%)
CIE-LABlab(21.17, 12.64, -30.44)
CIE-LCHlch(21.17, 32.96, 292.56°)
OKLaboklab(32.52% 0.0043 -0.0868)
OKLCHoklch(32.52% 0.087 272.8)
XYZxyz(3.9265, 3.2893, 11.4921)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F60 #605726
analogous
#264C60 #262F60 #3A2660
triadic
#262F60 #60262F #2F6026
tetradic
#262F60 #60264C #605726 #26603A
square
#262F60 #60264C #605726 #26603A
split-complementary
#262F60 #603A26 #4C6026
monochromatic
#090B16 #151A34 #262F60 #37448C #495AB7

Accessibility & contrast

On white

12.67
#262F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#262F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F60
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F60#FFFFFF#000000##FFFFFF
##262F601.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183562
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#043A42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262f60;
/* rgb */ color: rgb(38, 47, 96);
/* oklch */ color: oklch(32.5% 0.087 272.8);
Tailwind
colors: {
  custom: {
    50: '#66678d',
    500: '#262f60',
    950: '#000000',
  },
}
SCSS
$custom: #262f60;
$custom-light: #66678d;
$custom-dark: #000000;
JSON
{
  "hex": "#262f60",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 230.69,
    "s": 43.284,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32516,
    "c": 0.08695,
    "h": 272.8
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#262F60
secondary
#93884F
accent
#BF55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #262F60

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

Preview Lab → · Contrast checker → · Palette generator →

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