#262F93#262F93

#262F93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.162 H 271.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#262F93
RGBrgb(38, 47, 147)
HSLhsl(235, 59%, 36%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(74.1%, 68%, 0%, 42.4%)
CIE-LABlab(25.42, 31.87, -55.93)
CIE-LCHlch(25.42, 64.38, 299.67°)
OKLaboklab(37% 0.0046 -0.1617)
OKLCHoklch(37% 0.162 271.6)
XYZxyz(7.0805, 4.5510, 28.1034)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F93 #938A26
analogous
#266693 #262F93 #542693
triadic
#262F93 #93262F #2F9326
tetradic
#262F93 #932666 #938A26 #269354
square
#262F93 #932666 #938A26 #269354
split-complementary
#262F93 #935426 #669326
monochromatic
#0D1032 #191F62 #262F93 #333FC4 #5E68D5

Accessibility & contrast

On white

10.99
#262F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F93
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F93#FFFFFF#000000##FFFFFF
##262F931.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262f93;
/* rgb */ color: rgb(38, 47, 147);
/* oklch */ color: oklch(37.0% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#7168b4',
    500: '#262f93',
    950: '#000000',
  },
}
SCSS
$custom: #262f93;
$custom-light: #7168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262f93",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 235.046,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36998,
    "c": 0.16179,
    "h": 271.6
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#262F93
secondary
#BAB35A
accent
#D546E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F93

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

Preview Lab → · Contrast checker → · Palette generator →

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