#0F2253#0F2253

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

Color values

HEX#0F2253
RGBrgb(15, 34, 83)
HSLhsl(223, 69%, 19%)
HSVhsv(223, 82%, 33%)
CMYKcmyk(81.9%, 59%, 0%, 67.5%)
CIE-LABlab(14.79, 12.53, -32.12)
CIE-LCHlch(14.79, 34.48, 291.31°)
OKLaboklab(26.99% -0.0084 -0.0926)
OKLCHoklch(26.99% 0.093 264.8)
XYZxyz(2.3298, 1.8699, 8.4201)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2253 #53400F
analogous
#0F4453 #0F2253 #1E0F53
triadic
#0F2253 #530F22 #22530F
tetradic
#0F2253 #530F44 #53400F #0F531E
square
#0F2253 #530F44 #53400F #0F531E
split-complementary
#0F2253 #531E0F #44530F
monochromatic
#050B1A #060D1F #0F2253 #183787 #224CBB

Accessibility & contrast

On white

15.28
#0F2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2253
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2253#FFFFFF#000000##FFFFFF
##0F22531.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2253;
/* rgb */ color: rgb(15, 34, 83);
/* oklch */ color: oklch(27.0% 0.093 264.8);
Tailwind
colors: {
  custom: {
    50: '#595c84',
    500: '#0f2253',
    950: '#000000',
  },
}
SCSS
$custom: #0f2253;
$custom-light: #595c84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2253",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 223.235,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.09294,
    "h": 264.8
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#0F2253
secondary
#8D7331
accent
#BB3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2253

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

Preview Lab → · Contrast checker → · Palette generator →

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