#262F9C#262F9C

#262F9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.174 H 271.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#262F9C
RGBrgb(38, 47, 156)
HSLhsl(235, 61%, 38%)
HSVhsv(235, 76%, 61%)
CMYKcmyk(75.6%, 69.9%, 0%, 38.8%)
CIE-LABlab(26.29, 35.14, -60.02)
CIE-LCHlch(26.29, 69.55, 300.35°)
OKLaboklab(37.9% 0.0037 -0.1737)
OKLCHoklch(37.9% 0.174 271.2)
XYZxyz(7.8146, 4.8446, 31.9693)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9C #9C9326
analogous
#266A9C #262F9C #58269C
triadic
#262F9C #9C262F #2F9C26
tetradic
#262F9C #9C266A #9C9326 #269C58
square
#262F9C #9C266A #9C9326 #269C58
split-complementary
#262F9C #9C5826 #6A9C26
monochromatic
#0E113A #1A206B #262F9C #323ECD #636CD9

Accessibility & contrast

On white

10.67
#262F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F9C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9C#FFFFFF#000000##FFFFFF
##262F9C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262f9c;
/* rgb */ color: rgb(38, 47, 156);
/* oklch */ color: oklch(37.9% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#7468ba',
    500: '#262f9c',
    950: '#000000',
  },
}
SCSS
$custom: #262f9c;
$custom-light: #7468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9c",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 235.424,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37896,
    "c": 0.1737,
    "h": 271.2
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#262F9C
secondary
#BFB75F
accent
#D844E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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