#262F6B#262F6B

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

Color values

HEX#262F6B
RGBrgb(38, 47, 107)
HSLhsl(232, 48%, 28%)
HSVhsv(232, 64%, 42%)
CMYKcmyk(64.5%, 56.1%, 0%, 58%)
CIE-LABlab(21.97, 16.81, -36.32)
CIE-LCHlch(21.97, 40.02, 294.84°)
OKLaboklab(33.38% 0.0055 -0.1041)
OKLCHoklch(33.38% 0.104 273)
XYZxyz(4.4688, 3.5063, 14.3484)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F6B #6B6226
analogous
#26516B #262F6B #3F266B
triadic
#262F6B #6B262F #2F6B26
tetradic
#262F6B #6B2651 #6B6226 #266B3F
square
#262F6B #6B2651 #6B6226 #266B3F
split-complementary
#262F6B #6B3F26 #516B26
monochromatic
#080A17 #161B3E #262F6B #364398 #4C5BBF

Accessibility & contrast

On white

12.34
#262F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F6B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F6B#FFFFFF#000000##FFFFFF
##262F6B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262f6b;
/* rgb */ color: rgb(38, 47, 107);
/* oklch */ color: oklch(33.4% 0.104 273.0);
Tailwind
colors: {
  custom: {
    50: '#686796',
    500: '#262f6b',
    950: '#000000',
  },
}
SCSS
$custom: #262f6b;
$custom-light: #686796;
$custom-dark: #000000;
JSON
{
  "hex": "#262f6b",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 232.174,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.10427,
    "h": 273
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#262F6B
secondary
#9E944F
accent
#C651D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #262F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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