#0F2D68#0F2D68

#0F2D68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.110 H 262.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0F2D68
RGBrgb(15, 45, 104)
HSLhsl(220, 75%, 23%)
HSVhsv(220, 86%, 41%)
CMYKcmyk(85.6%, 56.7%, 0%, 59.2%)
CIE-LABlab(19.95, 13.46, -37.68)
CIE-LCHlch(19.95, 40.02, 289.66°)
OKLaboklab(31.46% -0.0153 -0.1087)
OKLCHoklch(31.46% 0.11 262)
XYZxyz(3.6332, 2.9774, 13.4772)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D68 #684A0F
analogous
#0F5968 #0F2D68 #1D0F68
triadic
#0F2D68 #680F2D #2D680F
tetradic
#0F2D68 #680F59 #684A0F #0F681D
square
#0F2D68 #680F59 #684A0F #0F681D
split-complementary
#0F2D68 #681D0F #59680F
monochromatic
#040C1B #071633 #0F2D68 #17449D #1E5BD3

Accessibility & contrast

On white

13.16
#0F2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D68
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D68#FFFFFF#000000##FFFFFF
##0F2D681.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2d68;
/* rgb */ color: rgb(15, 45, 104);
/* oklch */ color: oklch(31.5% 0.110 262.0);
Tailwind
colors: {
  custom: {
    50: '#5e6594',
    500: '#0f2d68',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d68;
$custom-light: #5e6594;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d68",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 219.775,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.10976,
    "h": 262
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#0F2D68
secondary
#A17B32
accent
#B236F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #0F2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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