#262C98#262C98

#262C98 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.172 H 272.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#262C98
RGBrgb(38, 44, 152)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(75%, 71.1%, 0%, 40.4%)
CIE-LABlab(25.20, 35.59, -59.37)
CIE-LCHlch(25.20, 69.22, 300.95°)
OKLaboklab(36.99% 0.0059 -0.1718)
OKLCHoklch(36.99% 0.172 272)
XYZxyz(7.3656, 4.4797, 30.1762)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C98 #989226
analogous
#266598 #262C98 #592698
triadic
#262C98 #98262C #2C9826
tetradic
#262C98 #982665 #989226 #269859
square
#262C98 #982665 #989226 #269859
split-complementary
#262C98 #985926 #659826
monochromatic
#0E1036 #1A1E67 #262C98 #323AC9 #6167D7

Accessibility & contrast

On white

11.08
#262C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#262C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C98
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C98#FFFFFF#000000##FFFFFF
##262C981.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262c98;
/* rgb */ color: rgb(38, 44, 152);
/* oklch */ color: oklch(37.0% 0.172 272.0);
Tailwind
colors: {
  custom: {
    50: '#7366b7',
    500: '#262c98',
    950: '#000000',
  },
}
SCSS
$custom: #262c98;
$custom-light: #7366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262c98",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 236.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.17185,
    "h": 272
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#262C98
secondary
#BDB85D
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262C98

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

Preview Lab → · Contrast checker → · Palette generator →

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