#0F2351#0F2351

#0F2351 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.088 H 263.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0F2351
RGBrgb(15, 35, 81)
HSLhsl(222, 69%, 19%)
HSVhsv(222, 81%, 32%)
CMYKcmyk(81.5%, 56.8%, 0%, 68.2%)
CIE-LABlab(14.94, 10.90, -30.52)
CIE-LCHlch(14.94, 32.41, 289.65°)
OKLaboklab(27.05% -0.0095 -0.0878)
OKLCHoklch(27.05% 0.088 263.8)
XYZxyz(2.2827, 1.8975, 8.0289)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2351 #513D0F
analogous
#0F4451 #0F2351 #1C0F51
triadic
#0F2351 #510F23 #23510F
tetradic
#0F2351 #510F44 #513D0F #0F511C
square
#0F2351 #510F44 #513D0F #0F511C
split-complementary
#0F2351 #511C0F #44510F
monochromatic
#050B1A #050D1D #0F2351 #193985 #2250B8

Accessibility & contrast

On white

15.22
#0F2351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2351
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2351#FFFFFF#000000##FFFFFF
##0F23511.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052953
Deuteranopia (green-blind)
#002350
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2351;
/* rgb */ color: rgb(15, 35, 81);
/* oklch */ color: oklch(27.1% 0.088 263.8);
Tailwind
colors: {
  custom: {
    50: '#595d82',
    500: '#0f2351',
    950: '#000000',
  },
}
SCSS
$custom: #0f2351;
$custom-light: #595d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2351",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 221.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27054,
    "c": 0.08836,
    "h": 263.8
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#0F2351
secondary
#8B7031
accent
#B63CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2351

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

Preview Lab → · Contrast checker → · Palette generator →

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