#262F94#262F94

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

Color values

HEX#262F94
RGBrgb(38, 47, 148)
HSLhsl(235, 59%, 36%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(74.3%, 68.2%, 0%, 42%)
CIE-LABlab(25.51, 32.24, -56.39)
CIE-LCHlch(25.51, 64.96, 299.75°)
OKLaboklab(37.1% 0.0046 -0.1631)
OKLCHoklch(37.1% 0.163 271.6)
XYZxyz(7.1593, 4.5825, 28.5184)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F94 #948B26
analogous
#266694 #262F94 #542694
triadic
#262F94 #94262F #2F9426
tetradic
#262F94 #942666 #948B26 #269454
square
#262F94 #942666 #948B26 #269454
split-complementary
#262F94 #945426 #669426
monochromatic
#0D1033 #192063 #262F94 #333EC5 #5F68D6

Accessibility & contrast

On white

10.96
#262F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F94
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F94#FFFFFF#000000##FFFFFF
##262F941.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f94;
/* rgb */ color: rgb(38, 47, 148);
/* oklch */ color: oklch(37.1% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#7268b4',
    500: '#262f94',
    950: '#000000',
  },
}
SCSS
$custom: #262f94;
$custom-light: #7268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262f94",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 235.091,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37096,
    "c": 0.16313,
    "h": 271.6
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#262F94
secondary
#BBB35B
accent
#D545E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F94

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

Preview Lab → · Contrast checker → · Palette generator →

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