#262F73#262F73

#262F73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.116 H 272.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#262F73
RGBrgb(38, 47, 115)
HSLhsl(233, 50%, 30%)
HSVhsv(233, 67%, 45%)
CMYKcmyk(67%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.59, 19.86, -40.45)
CIE-LCHlch(22.59, 45.06, 296.15°)
OKLaboklab(34.04% 0.0059 -0.1163)
OKLCHoklch(34.04% 0.116 272.9)
XYZxyz(4.9093, 3.6825, 16.6684)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F73 #736A26
analogous
#265673 #262F73 #432673
triadic
#262F73 #73262F #2F7326
tetradic
#262F73 #732656 #736A26 #267343
square
#262F73 #732656 #736A26 #267343
split-complementary
#262F73 #734326 #567326
monochromatic
#080917 #171C45 #262F73 #3542A1 #4F5CC5

Accessibility & contrast

On white

12.09
#262F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F73
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F73#FFFFFF#000000##FFFFFF
##262F731.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262f73;
/* rgb */ color: rgb(38, 47, 115);
/* oklch */ color: oklch(34.0% 0.116 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a679c',
    500: '#262f73',
    950: '#000000',
  },
}
SCSS
$custom: #262f73;
$custom-light: #6a679c;
$custom-dark: #000000;
JSON
{
  "hex": "#262f73",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 232.987,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.34043,
    "c": 0.11645,
    "h": 272.9
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#262F73
secondary
#A69B4F
accent
#C94EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F73

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

Preview Lab → · Contrast checker → · Palette generator →

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