#0F2345#0F2345

#0F2345 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.069 H 260.3°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#0F2345
RGBrgb(15, 35, 69)
HSLhsl(218, 64%, 16%)
HSVhsv(218, 78%, 27%)
CMYKcmyk(78.3%, 49.3%, 0%, 72.9%)
CIE-LABlab(14.02, 5.63, -23.77)
CIE-LCHlch(14.02, 24.43, 283.32°)
OKLaboklab(26.05% -0.0116 -0.068)
OKLCHoklch(26.05% 0.069 260.3)
XYZxyz(1.8718, 1.7331, 5.8649)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2345 #45310F
analogous
#0F3E45 #0F2345 #160F45
triadic
#0F2345 #450F23 #23450F
tetradic
#0F2345 #450F3E #45310F #0F4516
square
#0F2345 #450F3E #45310F #0F4516
split-complementary
#0F2345 #45160F #3E450F
monochromatic
#050D19 #050D19 #0F2345 #1A3D77 #2556AA

Accessibility & contrast

On white

15.59
#0F2345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F2345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2345
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2345#FFFFFF#000000##FFFFFF
##0F23451.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#092144
Tritanopia (blue-blind)
#002B30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2345;
/* rgb */ color: rgb(15, 35, 69);
/* oklch */ color: oklch(26.1% 0.069 260.3);
Tailwind
colors: {
  custom: {
    50: '#555d79',
    500: '#0f2345',
    950: '#000000',
  },
}
SCSS
$custom: #0f2345;
$custom-light: #555d79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2345",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 69
  },
  "hsl": {
    "h": 217.778,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.06896,
    "h": 260.3
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#0F2345
secondary
#7F6230
accent
#AA41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2345

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

Preview Lab → · Contrast checker → · Palette generator →

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