#262A9A#262A9A

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

Color values

HEX#262A9A
RGBrgb(38, 42, 154)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(75.3%, 72.7%, 0%, 39.6%)
CIE-LABlab(24.95, 37.54, -60.99)
CIE-LCHlch(24.95, 71.62, 301.61°)
OKLaboklab(36.88% 0.0067 -0.1765)
OKLCHoklch(36.88% 0.177 272.2)
XYZxyz(7.4581, 4.4003, 31.0219)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9A #9A9626
analogous
#26649A #262A9A #5C269A
triadic
#262A9A #9A262A #2A9A26
tetradic
#262A9A #9A2664 #9A9626 #269A5C
square
#262A9A #9A2664 #9A9626 #269A5C
split-complementary
#262A9A #9A5C26 #649A26
monochromatic
#0E0F38 #1A1D69 #262A9A #3237CB #6266D8

Accessibility & contrast

On white

11.17
#262A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#262A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A9A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9A#FFFFFF#000000##FFFFFF
##262A9A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262a9a;
/* rgb */ color: rgb(38, 42, 154);
/* oklch */ color: oklch(36.9% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#7464b9',
    500: '#262a9a',
    950: '#000000',
  },
}
SCSS
$custom: #262a9a;
$custom-light: #7464b9;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9a",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 237.931,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36875,
    "c": 0.17663,
    "h": 272.2
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#262A9A
secondary
#BEBA5E
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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