#0F2354#0F2354

#0F2354 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.093 H 264.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#0F2354
RGBrgb(15, 35, 84)
HSLhsl(223, 70%, 19%)
HSVhsv(223, 82%, 33%)
CMYKcmyk(82.1%, 58.3%, 0%, 67.1%)
CIE-LABlab(15.19, 12.21, -32.15)
CIE-LCHlch(15.19, 34.40, 290.80°)
OKLaboklab(27.32% -0.0092 -0.0926)
OKLCHoklch(27.32% 0.093 264.3)
XYZxyz(2.3977, 1.9434, 8.6345)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2354 #54400F
analogous
#0F4654 #0F2354 #1E0F54
triadic
#0F2354 #540F23 #23540F
tetradic
#0F2354 #540F46 #54400F #0F541E
square
#0F2354 #540F46 #54400F #0F541E
split-complementary
#0F2354 #541E0F #46540F
monochromatic
#050B1A #060D20 #0F2354 #183988 #224EBC

Accessibility & contrast

On white

15.12
#0F2354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F2354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2354
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2354#FFFFFF#000000##FFFFFF
##0F23541.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012956
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2354;
/* rgb */ color: rgb(15, 35, 84);
/* oklch */ color: oklch(27.3% 0.093 264.3);
Tailwind
colors: {
  custom: {
    50: '#595d85',
    500: '#0f2354',
    950: '#000000',
  },
}
SCSS
$custom: #0f2354;
$custom-light: #595d85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2354",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 84
  },
  "hsl": {
    "h": 222.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27321,
    "c": 0.09309,
    "h": 264.3
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#0F2354
secondary
#8E7331
accent
#B93BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2354

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

Preview Lab → · Contrast checker → · Palette generator →

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