#0F2245#0F2245

#0F2245 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.070 H 261.4°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2245
RGBrgb(15, 34, 69)
HSLhsl(219, 64%, 16%)
HSVhsv(219, 78%, 27%)
CMYKcmyk(78.3%, 50.7%, 0%, 72.9%)
CIE-LABlab(13.68, 6.39, -24.32)
CIE-LCHlch(13.68, 25.14, 284.72°)
OKLaboklab(25.79% -0.0105 -0.0696)
OKLCHoklch(25.79% 0.07 261.4)
XYZxyz(1.8428, 1.6751, 5.8553)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2245 #45320F
analogous
#0F3D45 #0F2245 #170F45
triadic
#0F2245 #450F22 #22450F
tetradic
#0F2245 #450F3D #45320F #0F4517
square
#0F2245 #450F3D #45320F #0F4517
split-complementary
#0F2245 #45170F #3D450F
monochromatic
#050C19 #050C19 #0F2245 #1A3B77 #2554AA

Accessibility & contrast

On white

15.73
#0F2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2245
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2245#FFFFFF#000000##FFFFFF
##0F22451.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102646
Deuteranopia (green-blind)
#062144
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2245;
/* rgb */ color: rgb(15, 34, 69);
/* oklch */ color: oklch(25.8% 0.070 261.4);
Tailwind
colors: {
  custom: {
    50: '#555c79',
    500: '#0f2245',
    950: '#000000',
  },
}
SCSS
$custom: #0f2245;
$custom-light: #555c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2245",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 218.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25793,
    "c": 0.07039,
    "h": 261.4
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#0F2245
secondary
#7F6430
accent
#AD41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2245

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

Preview Lab → · Contrast checker → · Palette generator →

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