#262F6E#262F6E

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

Color values

HEX#262F6E
RGBrgb(38, 47, 110)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 65%, 43%)
CMYKcmyk(65.5%, 57.3%, 0%, 56.9%)
CIE-LABlab(22.20, 17.95, -37.88)
CIE-LCHlch(22.20, 41.92, 295.36°)
OKLaboklab(33.62% 0.0057 -0.1087)
OKLCHoklch(33.62% 0.109 273)
XYZxyz(4.6294, 3.5705, 15.1940)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F6E #6E6526
analogous
#26536E #262F6E #41266E
triadic
#262F6E #6E262F #2F6E26
tetradic
#262F6E #6E2653 #6E6526 #266E41
square
#262F6E #6E2653 #6E6526 #266E41
split-complementary
#262F6E #6E4126 #536E26
monochromatic
#080A17 #161C41 #262F6E #36429B #4D5BC1

Accessibility & contrast

On white

12.25
#262F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F6E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F6E#FFFFFF#000000##FFFFFF
##262F6E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262f6e;
/* rgb */ color: rgb(38, 47, 110);
/* oklch */ color: oklch(33.6% 0.109 273.0);
Tailwind
colors: {
  custom: {
    50: '#696798',
    500: '#262f6e',
    950: '#000000',
  },
}
SCSS
$custom: #262f6e;
$custom-light: #696798;
$custom-dark: #000000;
JSON
{
  "hex": "#262f6e",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 232.5,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.10888,
    "h": 273
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#262F6E
secondary
#A1974F
accent
#C750D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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