#262F6F#262F6F

#262F6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 273.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#262F6F
RGBrgb(38, 47, 111)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 66%, 44%)
CMYKcmyk(65.8%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.28, 18.34, -38.40)
CIE-LCHlch(22.28, 42.55, 295.53°)
OKLaboklab(33.71% 0.0057 -0.1103)
OKLCHoklch(33.71% 0.11 273)
XYZxyz(4.6841, 3.5924, 15.4824)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F6F #6F6626
analogous
#26546F #262F6F #42266F
triadic
#262F6F #6F262F #2F6F26
tetradic
#262F6F #6F2654 #6F6626 #266F42
square
#262F6F #6F2654 #6F6626 #266F42
split-complementary
#262F6F #6F4226 #546F26
monochromatic
#080A17 #161C41 #262F6F #36429D #4D5CC2

Accessibility & contrast

On white

12.22
#262F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F6F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F6F#FFFFFF#000000##FFFFFF
##262F6F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262f6f;
/* rgb */ color: rgb(38, 47, 111);
/* oklch */ color: oklch(33.7% 0.110 273.0);
Tailwind
colors: {
  custom: {
    50: '#696799',
    500: '#262f6f',
    950: '#000000',
  },
}
SCSS
$custom: #262f6f;
$custom-light: #696799;
$custom-dark: #000000;
JSON
{
  "hex": "#262f6f",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 232.603,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.11041,
    "h": 273
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#262F6F
secondary
#A2984F
accent
#C84FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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