#0F2356#0F2356

#0F2356 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.096 H 264.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#0F2356
RGBrgb(15, 35, 86)
HSLhsl(223, 70%, 20%)
HSVhsv(223, 83%, 34%)
CMYKcmyk(82.6%, 59.3%, 0%, 66.3%)
CIE-LABlab(15.36, 13.09, -33.23)
CIE-LCHlch(15.36, 35.71, 291.50°)
OKLaboklab(27.5% -0.009 -0.0958)
OKLCHoklch(27.5% 0.096 264.6)
XYZxyz(2.4772, 1.9752, 9.0530)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2356 #56420F
analogous
#0F4656 #0F2356 #1F0F56
triadic
#0F2356 #560F23 #23560F
tetradic
#0F2356 #560F46 #56420F #0F561F
square
#0F2356 #560F46 #56420F #0F561F
split-complementary
#0F2356 #561F0F #46560F
monochromatic
#050B1A #060E22 #0F2356 #18388A #214DBE

Accessibility & contrast

On white

15.05
#0F2356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2356
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2356#FFFFFF#000000##FFFFFF
##0F23561.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2356;
/* rgb */ color: rgb(15, 35, 86);
/* oklch */ color: oklch(27.5% 0.096 264.6);
Tailwind
colors: {
  custom: {
    50: '#5a5d86',
    500: '#0f2356',
    950: '#000000',
  },
}
SCSS
$custom: #0f2356;
$custom-light: #5a5d86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2356",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 223.099,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27502,
    "c": 0.09621,
    "h": 264.6
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#0F2356
secondary
#907531
accent
#BB3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2356

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

Preview Lab → · Contrast checker → · Palette generator →

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