#262A9C#262A9C

#262A9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.179 H 272.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#262A9C
RGBrgb(38, 42, 156)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(75.6%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.16, 38.24, -61.88)
CIE-LCHlch(25.16, 72.74, 301.71°)
OKLaboklab(37.09% 0.0064 -0.1791)
OKLCHoklch(37.09% 0.179 272.1)
XYZxyz(7.6260, 4.4675, 31.9064)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A9C #9C9826
analogous
#26659C #262A9C #5D269C
triadic
#262A9C #9C262A #2A9C26
tetradic
#262A9C #9C2665 #9C9826 #269C5D
square
#262A9C #9C2665 #9C9826 #269C5D
split-complementary
#262A9C #9C5D26 #659C26
monochromatic
#0E103A #1A1D6B #262A9C #3237CD #6367D9

Accessibility & contrast

On white

11.09
#262A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A9C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A9C#FFFFFF#000000##FFFFFF
##262A9C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262a9c;
/* rgb */ color: rgb(38, 42, 156);
/* oklch */ color: oklch(37.1% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#262a9c',
    950: '#000000',
  },
}
SCSS
$custom: #262a9c;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262a9c",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 237.966,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37085,
    "c": 0.17918,
    "h": 272.1
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#262A9C
secondary
#BFBB5F
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #262A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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