#262F6A#262F6A

#262F6A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.103 H 273.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#262F6A
RGBrgb(38, 47, 106)
HSLhsl(232, 47%, 28%)
HSVhsv(232, 64%, 42%)
CMYKcmyk(64.2%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.89, 16.43, -35.79)
CIE-LCHlch(21.89, 39.38, 294.66°)
OKLaboklab(33.3% 0.0054 -0.1026)
OKLCHoklch(33.3% 0.103 273)
XYZxyz(4.4165, 3.4854, 14.0729)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F6A #6A6126
analogous
#26516A #262F6A #3F266A
triadic
#262F6A #6A262F #2F6A26
tetradic
#262F6A #6A2651 #6A6126 #266A3F
square
#262F6A #6A2651 #6A6126 #266A3F
split-complementary
#262F6A #6A3F26 #516A26
monochromatic
#080A17 #161B3D #262F6A #364397 #4C5BBF

Accessibility & contrast

On white

12.37
#262F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F6A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F6A#FFFFFF#000000##FFFFFF
##262F6A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262f6a;
/* rgb */ color: rgb(38, 47, 106);
/* oklch */ color: oklch(33.3% 0.103 273.0);
Tailwind
colors: {
  custom: {
    50: '#686795',
    500: '#262f6a',
    950: '#000000',
  },
}
SCSS
$custom: #262f6a;
$custom-light: #686795;
$custom-dark: #000000;
JSON
{
  "hex": "#262f6a",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 232.059,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.10273,
    "h": 273
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#262F6A
secondary
#9D934F
accent
#C551D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #262F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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