#262F66#262F66

#262F66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.096 H 273.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#262F66
RGBrgb(38, 47, 102)
HSLhsl(232, 46%, 27%)
HSVhsv(232, 63%, 40%)
CMYKcmyk(62.7%, 53.9%, 0%, 60%)
CIE-LABlab(21.59, 14.91, -33.67)
CIE-LCHlch(21.59, 36.82, 293.88°)
OKLaboklab(32.98% 0.005 -0.0963)
OKLCHoklch(32.98% 0.096 273)
XYZxyz(4.2133, 3.4041, 13.0028)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F66 #665D26
analogous
#264F66 #262F66 #3D2666
triadic
#262F66 #66262F #2F6626
tetradic
#262F66 #66264F #665D26 #26663D
square
#262F66 #66264F #665D26 #26663D
split-complementary
#262F66 #663D26 #4F6626
monochromatic
#080A16 #151A39 #262F66 #374493 #4B5BBC

Accessibility & contrast

On white

12.49
#262F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F66
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F66#FFFFFF#000000##FFFFFF
##262F661.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113768
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262f66;
/* rgb */ color: rgb(38, 47, 102);
/* oklch */ color: oklch(33.0% 0.096 273.0);
Tailwind
colors: {
  custom: {
    50: '#676792',
    500: '#262f66',
    950: '#000000',
  },
}
SCSS
$custom: #262f66;
$custom-light: #676792;
$custom-dark: #000000;
JSON
{
  "hex": "#262f66",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 231.563,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32977,
    "c": 0.09648,
    "h": 273
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#262F66
secondary
#998F4F
accent
#C352D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #262F66

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

Preview Lab → · Contrast checker → · Palette generator →

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