#262F5E#262F5E

#262F5E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.084 H 272.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#262F5E
RGBrgb(38, 47, 94)
HSLhsl(230, 42%, 26%)
HSVhsv(230, 60%, 37%)
CMYKcmyk(59.6%, 50%, 0%, 63.1%)
CIE-LABlab(21.03, 11.89, -29.34)
CIE-LCHlch(21.03, 31.66, 292.06°)
OKLaboklab(32.37% 0.004 -0.0836)
OKLCHoklch(32.37% 0.084 272.7)
XYZxyz(3.8356, 3.2530, 11.0133)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F5E #5E5526
analogous
#264B5E #262F5E #39265E
triadic
#262F5E #5E262F #2F5E26
tetradic
#262F5E #5E264B #5E5526 #265E39
square
#262F5E #5E264B #5E5526 #265E39
split-complementary
#262F5E #5E3926 #4B5E26
monochromatic
#090B16 #141932 #262F5E #38458A #495BB5

Accessibility & contrast

On white

12.72
#262F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F5E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F5E#FFFFFF#000000##FFFFFF
##262F5E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193560
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#073942
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262f5e;
/* rgb */ color: rgb(38, 47, 94);
/* oklch */ color: oklch(32.4% 0.084 272.7);
Tailwind
colors: {
  custom: {
    50: '#66678c',
    500: '#262f5e',
    950: '#000000',
  },
}
SCSS
$custom: #262f5e;
$custom-light: #66678c;
$custom-dark: #000000;
JSON
{
  "hex": "#262f5e",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 230.357,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.08372,
    "h": 272.7
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#262F5E
secondary
#91864F
accent
#BE56D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #262F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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