#262F90#262F90

#262F90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.158 H 271.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#262F90
RGBrgb(38, 47, 144)
HSLhsl(235, 58%, 36%)
HSVhsv(235, 74%, 56%)
CMYKcmyk(73.6%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.13, 30.77, -54.55)
CIE-LCHlch(25.13, 62.63, 299.43°)
OKLaboklab(36.7% 0.0049 -0.1577)
OKLCHoklch(36.7% 0.158 271.8)
XYZxyz(6.8482, 4.4580, 26.8797)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F90 #908726
analogous
#266490 #262F90 #522690
triadic
#262F90 #90262F #2F9026
tetradic
#262F90 #902664 #908726 #269052
square
#262F90 #902664 #908726 #269052
split-complementary
#262F90 #905226 #649026
monochromatic
#0C0F2F #191F60 #262F90 #333FC0 #5C66D4

Accessibility & contrast

On white

11.10
#262F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F90
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F90#FFFFFF#000000##FFFFFF
##262F901.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262f90;
/* rgb */ color: rgb(38, 47, 144);
/* oklch */ color: oklch(36.7% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#262f90',
    950: '#000000',
  },
}
SCSS
$custom: #262f90;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262f90",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 234.906,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36704,
    "c": 0.15775,
    "h": 271.8
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#262F90
secondary
#B9B159
accent
#D446E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262F90

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

Preview Lab → · Contrast checker → · Palette generator →

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