#262F74#262F74

#262F74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.118 H 272.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#262F74
RGBrgb(38, 47, 116)
HSLhsl(233, 51%, 30%)
HSVhsv(233, 67%, 45%)
CMYKcmyk(67.2%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.67, 20.24, -40.96)
CIE-LCHlch(22.67, 45.69, 296.30°)
OKLaboklab(34.13% 0.0059 -0.1178)
OKLCHoklch(34.13% 0.118 272.9)
XYZxyz(4.9672, 3.7056, 16.9731)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F74 #746B26
analogous
#265674 #262F74 #442674
triadic
#262F74 #74262F #2F7426
tetradic
#262F74 #742656 #746B26 #267444
square
#262F74 #742656 #746B26 #267444
split-complementary
#262F74 #744426 #567426
monochromatic
#080A18 #171C46 #262F74 #3542A2 #4F5DC5

Accessibility & contrast

On white

12.06
#262F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F74
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F74#FFFFFF#000000##FFFFFF
##262F741.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262f74;
/* rgb */ color: rgb(38, 47, 116);
/* oklch */ color: oklch(34.1% 0.118 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a679d',
    500: '#262f74',
    950: '#000000',
  },
}
SCSS
$custom: #262f74;
$custom-light: #6a679d;
$custom-dark: #000000;
JSON
{
  "hex": "#262f74",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 233.077,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34129,
    "c": 0.11794,
    "h": 272.9
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#262F74
secondary
#A69C4F
accent
#CA4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F74

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

Preview Lab → · Contrast checker → · Palette generator →

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