#0F264A#0F264A

#0F264A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.073 H 259.1°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0F264A
RGBrgb(15, 38, 74)
HSLhsl(217, 66%, 17%)
HSVhsv(217, 80%, 29%)
CMYKcmyk(79.7%, 48.6%, 0%, 71%)
CIE-LABlab(15.39, 5.56, -25.02)
CIE-LCHlch(15.39, 25.63, 282.53°)
OKLaboklab(27.23% -0.0138 -0.0716)
OKLCHoklch(27.23% 0.073 259.1)
XYZxyz(2.1257, 1.9820, 6.7478)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F264A #4A330F
analogous
#0F444A #0F264A #150F4A
triadic
#0F264A #4A0F26 #264A0F
tetradic
#0F264A #4A0F44 #4A330F #0F4A15
square
#0F264A #4A0F44 #4A330F #0F4A15
split-complementary
#0F264A #4A150F #444A0F
monochromatic
#050D19 #050D19 #0F264A #19407D #245AB0

Accessibility & contrast

On white

15.04
#0F264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F264A
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F264A#FFFFFF#000000##FFFFFF
##0F264A1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14294B
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f264a;
/* rgb */ color: rgb(15, 38, 74);
/* oklch */ color: oklch(27.2% 0.073 259.1);
Tailwind
colors: {
  custom: {
    50: '#565f7d',
    500: '#0f264a',
    950: '#000000',
  },
}
SCSS
$custom: #0f264a;
$custom-light: #565f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f264a",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 216.61,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2723,
    "c": 0.0729,
    "h": 259.1
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#0F264A
secondary
#846430
accent
#A73FE9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0F264A

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

Preview Lab → · Contrast checker → · Palette generator →

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