#262C97#262C97

#262C97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.171 H 272.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#262C97
RGBrgb(38, 44, 151)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(74.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(25.10, 35.24, -58.92)
CIE-LCHlch(25.10, 68.65, 300.88°)
OKLaboklab(36.89% 0.006 -0.1704)
OKLCHoklch(36.89% 0.171 272)
XYZxyz(7.2840, 4.4470, 29.7466)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C97 #979126
analogous
#266597 #262C97 #592697
triadic
#262C97 #97262C #2C9726
tetradic
#262C97 #972665 #979126 #269759
square
#262C97 #972665 #979126 #269759
split-complementary
#262C97 #975926 #659726
monochromatic
#0D1035 #1A1E66 #262C97 #323AC8 #6067D7

Accessibility & contrast

On white

11.11
#262C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#262C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C97
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C97#FFFFFF#000000##FFFFFF
##262C971.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c97;
/* rgb */ color: rgb(38, 44, 151);
/* oklch */ color: oklch(36.9% 0.171 272.0);
Tailwind
colors: {
  custom: {
    50: '#7366b7',
    500: '#262c97',
    950: '#000000',
  },
}
SCSS
$custom: #262c97;
$custom-light: #7366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#262c97",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 236.814,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.17055,
    "h": 272
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C97

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

Preview Lab → · Contrast checker → · Palette generator →

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