#0F2A4E#0F2A4E

#0F2A4E is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.074 H 256.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0F2A4E
RGBrgb(15, 42, 78)
HSLhsl(214, 68%, 18%)
HSVhsv(214, 81%, 31%)
CMYKcmyk(80.8%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.02, 4.34, -25.14)
CIE-LCHlch(17.02, 25.51, 279.79°)
OKLaboklab(28.58% -0.0171 -0.0718)
OKLCHoklch(28.58% 0.074 256.6)
XYZxyz(2.3996, 2.3073, 7.5251)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A4E #4E330F
analogous
#0F494E #0F2A4E #130F4E
triadic
#0F2A4E #4E0F2A #2A4E0F
tetradic
#0F2A4E #4E0F49 #4E330F #0F4E13
square
#0F2A4E #4E0F49 #4E330F #0F4E13
split-complementary
#0F2A4E #4E130F #494E0F
monochromatic
#050E1A #050E1B #0F2A4E #194681 #2361B5

Accessibility & contrast

On white

14.37
#0F2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A4E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A4E#FFFFFF#000000##FFFFFF
##0F2A4E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4F
Deuteranopia (green-blind)
#0E274D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2a4e;
/* rgb */ color: rgb(15, 42, 78);
/* oklch */ color: oklch(28.6% 0.074 256.6);
Tailwind
colors: {
  custom: {
    50: '#576380',
    500: '#0f2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a4e;
$custom-light: #576380;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a4e",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 214.286,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.07385,
    "h": 256.6
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#0F2A4E
secondary
#886331
accent
#A03DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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