#262F99#262F99

#262F99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.170 H 271.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#262F99
RGBrgb(38, 47, 153)
HSLhsl(235, 60%, 37%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(75.2%, 69.3%, 0%, 40%)
CIE-LABlab(25.99, 34.06, -58.67)
CIE-LCHlch(25.99, 67.84, 300.14°)
OKLaboklab(37.59% 0.0041 -0.1697)
OKLCHoklch(37.59% 0.17 271.4)
XYZxyz(7.5637, 4.7442, 30.6479)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F99 #999026
analogous
#266999 #262F99 #562699
triadic
#262F99 #99262F #2F9926
tetradic
#262F99 #992669 #999026 #269956
square
#262F99 #992669 #999026 #269956
split-complementary
#262F99 #995626 #699926
monochromatic
#0E1137 #1A2068 #262F99 #323ECA #626BD8

Accessibility & contrast

On white

10.77
#262F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#262F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F99
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F99#FFFFFF#000000##FFFFFF
##262F991.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262f99;
/* rgb */ color: rgb(38, 47, 153);
/* oklch */ color: oklch(37.6% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#7368b8',
    500: '#262f99',
    950: '#000000',
  },
}
SCSS
$custom: #262f99;
$custom-light: #7368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262f99",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 235.304,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.16977,
    "h": 271.4
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#262F99
secondary
#BDB65E
accent
#D744E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F99

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

Preview Lab → · Contrast checker → · Palette generator →

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