#262E73#262E73

#262E73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.118 H 273.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#262E73
RGBrgb(38, 46, 115)
HSLhsl(234, 50%, 30%)
HSVhsv(234, 67%, 45%)
CMYKcmyk(67%, 60%, 0%, 54.9%)
CIE-LABlab(22.31, 20.56, -40.90)
CIE-LCHlch(22.31, 45.78, 296.69°)
OKLaboklab(33.84% 0.0069 -0.1176)
OKLCHoklch(33.84% 0.118 273.3)
XYZxyz(4.8698, 3.6034, 16.6552)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E73 #736B26
analogous
#265573 #262E73 #442673
triadic
#262E73 #73262E #2E7326
tetradic
#262E73 #732655 #736B26 #267344
square
#262E73 #732655 #736B26 #267344
split-complementary
#262E73 #734426 #557326
monochromatic
#080917 #171C45 #262E73 #3540A1 #4F5BC5

Accessibility & contrast

On white

12.20
#262E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E73
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E73#FFFFFF#000000##FFFFFF
##262E731.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262e73;
/* rgb */ color: rgb(38, 46, 115);
/* oklch */ color: oklch(33.8% 0.118 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a669c',
    500: '#262e73',
    950: '#000000',
  },
}
SCSS
$custom: #262e73;
$custom-light: #6a669c;
$custom-dark: #000000;
JSON
{
  "hex": "#262e73",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 233.766,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33836,
    "c": 0.11784,
    "h": 273.3
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#262E73
secondary
#A69D4F
accent
#CB4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E73

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

Preview Lab → · Contrast checker → · Palette generator →

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