#0F246A#0F246A

#0F246A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.125 H 265.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#0F246A
RGBrgb(15, 36, 106)
HSLhsl(226, 75%, 24%)
HSVhsv(226, 86%, 42%)
CMYKcmyk(85.8%, 66%, 0%, 58.4%)
CIE-LABlab(17.48, 20.91, -43.03)
CIE-LCHlch(17.48, 47.84, 295.92°)
OKLaboklab(29.66% -0.009 -0.1245)
OKLCHoklch(29.66% 0.125 265.9)
XYZxyz(3.4285, 2.4035, 13.9161)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F246A #6A550F
analogous
#0F516A #0F246A #270F6A
triadic
#0F246A #6A0F24 #246A0F
tetradic
#0F246A #6A0F51 #6A550F #0F6A27
square
#0F246A #6A0F51 #6A550F #0F6A27
split-complementary
#0F246A #6A270F #516A0F
monochromatic
#04091B #071234 #0F246A #1736A0 #1E48D5

Accessibility & contrast

On white

14.18
#0F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F246A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F246A#FFFFFF#000000##FFFFFF
##0F246A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f246a;
/* rgb */ color: rgb(15, 36, 106);
/* oklch */ color: oklch(29.7% 0.125 265.9);
Tailwind
colors: {
  custom: {
    50: '#605e95',
    500: '#0f246a',
    950: '#000000',
  },
}
SCSS
$custom: #0f246a;
$custom-light: #605e95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f246a",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 226.154,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29656,
    "c": 0.12485,
    "h": 265.9
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#0F246A
secondary
#A28932
accent
#C636F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #0F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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