#262F75#262F75

#262F75 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.119 H 272.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#262F75
RGBrgb(38, 47, 117)
HSLhsl(233, 51%, 30%)
HSVhsv(233, 68%, 46%)
CMYKcmyk(67.5%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.75, 20.62, -41.47)
CIE-LCHlch(22.75, 46.31, 296.44°)
OKLaboklab(34.22% 0.0059 -0.1193)
OKLCHoklch(34.22% 0.119 272.8)
XYZxyz(5.0257, 3.7290, 17.2811)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F75 #756C26
analogous
#265675 #262F75 #452675
triadic
#262F75 #75262F #2F7526
tetradic
#262F75 #752656 #756C26 #267545
square
#262F75 #752656 #756C26 #267545
split-complementary
#262F75 #754526 #567526
monochromatic
#080A19 #171C47 #262F75 #3542A3 #4F5DC6

Accessibility & contrast

On white

12.03
#262F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F75
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F75#FFFFFF#000000##FFFFFF
##262F751.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262f75;
/* rgb */ color: rgb(38, 47, 117);
/* oklch */ color: oklch(34.2% 0.119 272.8);
Tailwind
colors: {
  custom: {
    50: '#6a679d',
    500: '#262f75',
    950: '#000000',
  },
}
SCSS
$custom: #262f75;
$custom-light: #6a679d;
$custom-dark: #000000;
JSON
{
  "hex": "#262f75",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 233.165,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34215,
    "c": 0.11943,
    "h": 272.8
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#262F75
secondary
#A79D4F
accent
#CA4DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F75

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

Preview Lab → · Contrast checker → · Palette generator →

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