#0F225C#0F225C

#0F225C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.107 H 265.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#0F225C
RGBrgb(15, 34, 92)
HSLhsl(225, 72%, 21%)
HSVhsv(225, 84%, 36%)
CMYKcmyk(83.7%, 63%, 0%, 63.9%)
CIE-LABlab(15.58, 16.44, -36.88)
CIE-LCHlch(15.58, 40.38, 294.02°)
OKLaboklab(27.84% -0.0078 -0.1066)
OKLCHoklch(27.84% 0.107 265.8)
XYZxyz(2.7001, 2.0180, 10.3703)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F225C #5C490F
analogous
#0F485C #0F225C #220F5C
triadic
#0F225C #5C0F22 #225C0F
tetradic
#0F225C #5C0F48 #5C490F #0F5C22
square
#0F225C #5C0F48 #5C490F #0F5C22
split-complementary
#0F225C #5C220F #485C0F
monochromatic
#040A1A #060F27 #0F225C #183591 #2049C5

Accessibility & contrast

On white

14.96
#0F225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F225C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F225C#FFFFFF#000000##FFFFFF
##0F225C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f225c;
/* rgb */ color: rgb(15, 34, 92);
/* oklch */ color: oklch(27.8% 0.107 265.8);
Tailwind
colors: {
  custom: {
    50: '#5c5c8b',
    500: '#0f225c',
    950: '#000000',
  },
}
SCSS
$custom: #0f225c;
$custom-light: #5c5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f225c",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 225.195,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27837,
    "c": 0.10685,
    "h": 265.8
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#0F225C
secondary
#957D31
accent
#C239EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F225C

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

Preview Lab → · Contrast checker → · Palette generator →

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