#0F264C#0F264C

#0F264C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.076 H 259.9°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#0F264C
RGBrgb(15, 38, 76)
HSLhsl(217, 67%, 18%)
HSVhsv(217, 80%, 30%)
CMYKcmyk(80.3%, 50%, 0%, 70.2%)
CIE-LABlab(15.54, 6.44, -26.16)
CIE-LCHlch(15.54, 26.94, 283.83°)
OKLaboklab(27.39% -0.0133 -0.0749)
OKLCHoklch(27.39% 0.076 259.9)
XYZxyz(2.1942, 2.0093, 7.1083)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F264C #4C350F
analogous
#0F444C #0F264C #160F4C
triadic
#0F264C #4C0F26 #264C0F
tetradic
#0F264C #4C0F44 #4C350F #0F4C16
square
#0F264C #4C0F44 #4C350F #0F4C16
split-complementary
#0F264C #4C160F #444C0F
monochromatic
#050D1A #050D1A #0F264C #19407F #2359B2

Accessibility & contrast

On white

14.98
#0F264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F264C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F264C#FFFFFF#000000##FFFFFF
##0F264C1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4D
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f264c;
/* rgb */ color: rgb(15, 38, 76);
/* oklch */ color: oklch(27.4% 0.076 259.9);
Tailwind
colors: {
  custom: {
    50: '#575f7e',
    500: '#0f264c',
    950: '#000000',
  },
}
SCSS
$custom: #0f264c;
$custom-light: #575f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f264c",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 217.377,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27387,
    "c": 0.07611,
    "h": 259.9
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#0F264C
secondary
#866631
accent
#A93EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F264C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F264C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva