#262F67#262F67

#262F67 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.098 H 273.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#262F67
RGBrgb(38, 47, 103)
HSLhsl(232, 46%, 28%)
HSVhsv(232, 63%, 40%)
CMYKcmyk(63.1%, 54.4%, 0%, 59.6%)
CIE-LABlab(21.67, 15.29, -34.20)
CIE-LCHlch(21.67, 37.47, 294.09°)
OKLaboklab(33.06% 0.0051 -0.0979)
OKLCHoklch(33.06% 0.098 273)
XYZxyz(4.2632, 3.4240, 13.2656)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F67 #675E26
analogous
#265067 #262F67 #3D2667
triadic
#262F67 #67262F #2F6726
tetradic
#262F67 #672650 #675E26 #26673D
square
#262F67 #672650 #675E26 #26673D
split-complementary
#262F67 #673D26 #506726
monochromatic
#080A16 #161B3A #262F67 #364394 #4B5BBD

Accessibility & contrast

On white

12.46
#262F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F67
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F67#FFFFFF#000000##FFFFFF
##262F671.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103769
Deuteranopia (green-blind)
#023166
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262f67;
/* rgb */ color: rgb(38, 47, 103);
/* oklch */ color: oklch(33.1% 0.098 273.0);
Tailwind
colors: {
  custom: {
    50: '#676793',
    500: '#262f67',
    950: '#000000',
  },
}
SCSS
$custom: #262f67;
$custom-light: #676793;
$custom-dark: #000000;
JSON
{
  "hex": "#262f67",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 231.692,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33056,
    "c": 0.09805,
    "h": 273
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#262F67
secondary
#9A904F
accent
#C452D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #262F67

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

Preview Lab → · Contrast checker → · Palette generator →

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